Merge pull request #11047 from widoz/master
Pass heading product title tag to the the_title function
This commit is contained in:
commit
3193034b4f
|
@ -10,15 +10,14 @@
|
||||||
* happen. When this occurs the version of the template file will be bumped and
|
* happen. When this occurs the version of the template file will be bumped and
|
||||||
* the readme will list any important changes.
|
* the readme will list any important changes.
|
||||||
*
|
*
|
||||||
* @see https://docs.woothemes.com/document/template-structure/
|
* @see https://docs.woothemes.com/document/template-structure/
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.6.4
|
* @version 1.6.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit; // Exit if accessed directly
|
exit; // Exit if accessed directly.
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
the_title( '<h1 itemprop="name" class="product_title entry-title">', '</h1>' );
|
||||||
<h1 itemprop="name" class="product_title entry-title"><?php the_title(); ?></h1>
|
|
||||||
|
|
Loading…
Reference in New Issue