• Good afternoon: The theme marks H2 as the title and as H3 the description, I would like to mark them as b because this hierarchy is not the correct one. As I do?. Thank you

Viewing 1 replies (of 1 total)
  • You are talking about your post or page titles I assume…

    If so, for posts you will need to edit your single.php (for posts) file and for pages you will need to edit your page.php file.

    As an example, here is the code in single.php for the title:

    <h1 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>

    You want to remove the <h1> tags both opening and closing, or in your case the <h2> tags. Replace with the <strong> tag if that is what you are after.

    • This reply was modified 6 years, 5 months ago by bward.
    • This reply was modified 6 years, 5 months ago by bward.
    • This reply was modified 6 years, 5 months ago by bward.
Viewing 1 replies (of 1 total)
  • The topic ‘Title as H2 and description as H3’ is closed to new replies.