<?php /** * Template part for displaying a post's title * * @package kadence */ namespace Kadence; $html_tag = 'span'; if ( is_singular( 'product' ) ) { $title_element = kadence()->option( 'product_content_element_title' ); if ( isset( $title_element ) && is_array( $title_element ) && false === $title_element['enabled'] ) { $html_tag = 'h1'; } } the_title( '<' . $html_tag . ' class="extra-title">', '</' . $html_tag . '>' );
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
above_title.php | File | 439 B | 0644 |
|
back_link.php | File | 480 B | 0644 |
|
breadcrumb.php | File | 454 B | 0644 |
|
categories.php | File | 1.56 KB | 0644 |
|
category.php | File | 1.35 KB | 0644 |
|
description.php | File | 408 B | 0644 |
|
excerpt.php | File | 206 B | 0644 |
|
info.php | File | 155 B | 0644 |
|
meta.php | File | 11.27 KB | 0644 |
|
search.php | File | 232 B | 0644 |
|
title.php | File | 254 B | 0644 |
|