Merge pull request #11047 from widoz/master
Pass heading product title tag to the the_title function
This commit is contained in:
commit
3193034b4f
|
@ -17,8 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
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