Text as heading on front page (posts)

  • nathanzachary

    #51106

    Hello,

    I have found that I can modify index.php to add an H1 tag with the text “Latest News” at the top of the ‘posts’ page. However, that doesn’t seem to be the best solution as it will be overwritten with theme updates. Is there any way to accomplish this goal by modifying one of the templates (preferably without a child theme)?

    Thank you!

    Admin

    Syahir Hakim

    #51125

    You can use the Action Hooks Widget Areas feature for this.

    1. Go to Customizer > Graphene: Advanced > Action Hooks Widget Areas. Click on “index.php” and tick the checkbox labelled “graphene_index_pre_loop”. Click Publish.
    2. Go to Appearance > Widget, and add a text widget with your heading to the “Graphene Index Pre Loop” widget area.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!