Last active
July 17, 2016 12:25
-
-
Save samkent/83f73b8923a84512fd65aac533afc2a1 to your computer and use it in GitHub Desktop.
Multiple methods for rendering the_title(); in WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Method one --> | |
<h1><?php the_title(); ?></h1> | |
<!-- Method two --> | |
<?php the_title( '<h1>', '</h1>' ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment