WordPress.org

Ready to get started?Download WordPress

Forums

Post title change to h1 (3 posts)

  1. fietsbel
    Member
    Posted 1 year 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
    wwwmarketingsuccess.nl

    I tryed to Google it but it isnt helping

    Thanks already!

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

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

    find:

    <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
    Member
    Posted 10 months 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