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. :(
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. :(
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.
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... :)
lol - Okay - Thanks :)
and apologies, I'm struggling with reading for context. :-p
lol - You're apologising for trying to help? Thanks anyway. :P
This topic has been closed to new replies.