• Is there a code I can use to tell WP that if a post is paged, then show this, but if it isn’t then show that?

    I’ve seen someone mention is_paged() in another thread, but I had no idea how to use it, and couldn’t find any other mention of it. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • You’ll find is_paged() mentioned at the Conditional_Tags page.

    “is_paged” is NOT about ONE post being paged (like with the

    <!--nextpage-->

    tag) – it is about your index or archives when you have more posts than the number set for reading, and the next/prev posts link is present.

    Thread Starter fangathering

    (@fangathering)

    Thanks for that. It says “This does not refer to a Post or Page whose content has been divided into pages using the <!–nextpage–> QuickTag.”

    That’s what I meant. My post has been split up using <!–nextpage–>

    Is there a function I can use to tell WP if this has happened?

    Is there a function I can use to tell WP if this has happened?

    Not that I know of, although that doesn’t mean anything since I am a code illiterate… ??

    Thread Starter fangathering

    (@fangathering)

    lol – Okay – Thanks ??

    and apologies, I’m struggling with reading for context. :-p

    Thread Starter fangathering

    (@fangathering)

    lol – You’re apologising for trying to help? Thanks anyway. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘If a Post is Page Function’ is closed to new replies.