• I’m trying to display a bit of content ONLY on the home page when its not pages, but it still shows up on archive, search etc. I’m using

    if (is_home())
      if (!is_paged())

    If I add && !is_search() etc to the second if statement it has no effect on a category and search pages, the content still shows.

Viewing 1 replies (of 1 total)
  • The code you posted is incorrect. Is it the actual code? If so, it is missing some braces after the if statements.

Viewing 1 replies (of 1 total)
  • The topic ‘Showing Content ONLY on home not paged’ is closed to new replies.