• Hi,
    i’m triyng to build a dynamic sidebar using conditional tags:
    <?php if(is_page('24')): ?> /* i'm on the page with ID 24, then print something */
    but if my post is splitted with <!–nextpage–> in the second page i want print out something else. I don’t know how check this. I’ve tried with;
    <?php if(is_page('24') && $page=2) : ?>
    but don’t works for me.

    Any ideas?
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘<!–netxpage–> and conditional tags’ is closed to new replies.