• Hi,

    I am trying to make a mullet loop, but I only want the “business” to display on the very first page of my loop.

    I have tried using is_home() or is_front_page(), but they return true even if i have moved to the “previous entries page” (/pages/2)

    If you take a look at https://www.agamersodyssey.com you can see what I mean when moving to those previous pages.

    Any idea what I can do to achieve this?

    Simon

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try this:

    ((is_home()) && ($paged <= "1"))

    Thread Starter simv

    (@simv)

    This worked perfectly! Thanks!

    Took me a while to find it, but here it is in all its glory. Thanks.

    Thanks for the tip! This was driving me batty trying to figure out how to check the page like that.

    I always assumed is_front_page() only worked on … the front page! Oddly it doesn’t, so this tip was darn helpful ??

    Thanks very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems with is_home() or is_front_page()’ is closed to new replies.