WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Display ONLY on page 1 (3 posts)

  1. Connor Crosby
    Member
    Posted 5 years ago #

    Hello,
    I am making a blog and I want to display something on the homepage, but if a user were to navigate to page two to see the rest of the blog posts, they will not see that element. Thanks!

  2. Michael
    Forum Moderator
    Posted 5 years ago #

    assuming you know how to write a conditional statement;
    you could try to use:

    is_paged()

    conditional template tags
    http://codex.wordpress.org/Conditional_Tags

  3. Connor Crosby
    Member
    Posted 5 years ago #

    I am sorry, I am not that familiar with conditional statements, what would i write. If it helps, I am displaying a welcome message that I am getting from a page. Then, once they visit the second page of the blog posts, it does not display the welcome message. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic