Post title change to h1 (3 posts)

  1. fietsbel
    Posted 4 years ago #

    Hey guys,

    I really hope you can help me out.

    I saw that my post title is H2 and i really want to change it into H1.
    But i dont know how, can anyone explain it to me?

    Here you can see the title "Hello World" is H2

    I tryed to Google it but it isnt helping

    Thanks already!

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    edit ( http://codex.wordpress.org/Editing_Files ) index.php of your theme;


    <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="bookmark" ><?php the_title(); ?></a></h2>

    change both h2 to h1

    repeat the same in archive.php if you need.

  3. austindulen
    Posted 3 years ago #

    Alchymyth thanks for your response.
    I am using Lexicon Child theme of the Genesis family. I went to editor and didn't find index.php. So I went to the cPanel to locate Index.php but I didnt find the script you presented above in it.

    Can I copy this one and paste it in the index.php?

    Thanks already in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic