Support » Plugins and Hacks » how to do is_paged() for posts?

  • Resolved hugree

    (@hugree)


    Hi,

    I’ve been trying to determine if a post is multi-paged using the <!–nextpage–> tag. In general I want to hide something on pages > 1.

    I know is_paged() is used for something else.

    Please help.
    Thanks in advance,
    Greg

Viewing 2 replies - 1 through 2 (of 2 total)
  • MichaelH

    (@michaelh)

    $page = (get_query_var('page')) ? get_query_var('page') : 1;
    echo 'This is page '. $page;
    hugree

    (@hugree)

    Thanks!

    Worked like a charm 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to do is_paged() for posts?’ is closed to new replies.