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
|
||||
* the readme will list any important changes.
|
||||
*
|
||||
* @see https://docs.woothemes.com/document/template-structure/
|
||||
* @author WooThemes
|
||||
* @package WooCommerce/Templates
|
||||
* @version 1.6.4
|
||||
* @see https://docs.woothemes.com/document/template-structure/
|
||||
* @author WooThemes
|
||||
* @package WooCommerce/Templates
|
||||
* @version 1.6.4
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
?>
|
||||
<h1 itemprop="name" class="product_title entry-title"><?php the_title(); ?></h1>
|
||||
the_title( '<h1 itemprop="name" class="product_title entry-title">', '</h1>' );
|
||||
|
|
Loading…
Reference in New Issue