WordPress.org

Ready to get started?Download WordPress

Forums

displaying something on home page only (1 post)

  1. gmschmitz
    Member
    Posted 6 years ago #

    I have modified my main template index file to add a home page, I didn't use the static page option because I wanted to display a few posts below the home page. I am looking for a code to put in there so it only displays on the 1st page so if you go to previous posts it shows the previous posts with out the content I added to the main index template file.

    like
    {if((is_home()}
    CONTENT HERE
    {/if}
    example url http://www.teamelitehomes.com

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags