• Hello,
    I would like to know how can I display the posts in certain way in the front page and when is second page and greater be able to display them in another way.

    i have tried using the

    <?php if (is_front_page() && !is_paged() ){ ?>
    // content from home page
    <?php } ?>

    and the rest of the content at the bottom of this but I made a mess and is not working the way I want it.
    I don’t know how to tell wordpress how to show page 1 in one way and page 2 ans so one in a different way. please help!!!!

    Thanks,

Viewing 1 replies (of 1 total)
  • Thread Starter wpmhweb

    (@wppit)

    GOT it!
    This is what i needed!

    <?php if ( $paged < 2 ) { ?>
    <p>Text for first page of Category archive.</p>
    <?php } else { ?>
    <p>Text for subsequent pages of Category.
    Can be left out.</p>
    <?php } ?>

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Display post in front page in one way and another in second page and greater’ is closed to new replies.