WordPress.org

Support

Support » Themes and Templates » Display ONLY on page 1

Display ONLY on page 1

  • Connor Crosby
    Member

    @ccmovies

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael
    Forum Moderator

    @alchymyth

    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

    Connor Crosby
    Member

    @ccmovies

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display ONLY on page 1’ is closed to new replies.