WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Are the 'previous posts' still considered as home page? (4 posts)

  1. michael
    Member
    Posted 5 years ago #

    I am trying to take out the feature post on the next and previous pages: i.e.
    http://localhost/wordpress/?paged=2

    so i plug in this code:

    <?php if(is_home()){include('feature-postTEST.php');} ?>

    but it still remains

    can anyone help?

  2. michael
    Member
    Posted 5 years ago #

    I am trying to get the same effect as: http://wp-premiums.com/
    where when you click on the next pages at the bottom - the feature image disappears.

  3. yoshi
    Member
    Posted 5 years ago #

    Give this a try:
    if(is_home() && !get_query_var('paged')) {include('feature-postTEST.php');}

  4. michael
    Member
    Posted 5 years ago #

    That worked!!!

    CAN I CALL YOU MASTER YOSHI?

    THANKS AGAIN.

Topic Closed

This topic has been closed to new replies.

About this Topic