What does this do ?php the_title();?
-
Hi,
I’m new to wordpress and I’m trying to edit all the H1-H6 tags on a friend’s website. I want to add/edit the tags myself vs a plugin (as I haven’t had great luck with these).
(I know this is probably a dummy question but I’m new, so I appreciate your help!)
In my page.php file – the h1 is being set by this – seems to be common across WP:
<header>
<h1 class=”page-title” itemprop=”headline”><?php the_title(); ?></h1>
</header>Can you explain what exactly this is doing? I can’t find the h1 class and I can’t figure out where the actual text for the H1 is being set.
For example, on this page:
https://shoulderpainatnight.com/how-to-use-the-pillow/
The H1 is How To Use The Pillow – how do I set this? Should I delete the above? There are also multiple H2s being set.THANK YOU!
- The topic ‘What does this do ?php the_title();?’ is closed to new replies.