Merge pull request #11047 from widoz/master

Pass heading product title tag to the the_title function
This commit is contained in:
Mike Jolley 2016-06-06 11:31:51 +01:00
commit 3193034b4f
1 changed files with 6 additions and 7 deletions

View File

@ -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>