WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove home page specific items when older entries is clicked (4 posts)

  1. coreyscott
    Member
    Posted 1 year ago #

    On my home page I show 4 of my latest blog post. When I click on older entries it goes to page/2 like normal but I want to remove the home page specific items like a big intro image and welcome to my blog text.

    Example: this site just creative does this.

    Notice when you click on page 2 the top slider is gone and it just displays the latest post.

    Thanks.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try placing the code for the home page specific items inside an <?php if( !is_paged() ):?>...<?php endif;?> conditional.

  3. coreyscott
    Member
    Posted 1 year ago #

    Hey esmi,

    Thank you so much. Problem resolved.

    Thanks again!

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic