is_page(‘ID’)
-
I swear, one of these days I will have to give back to the WordPress community.
With the following code I am using to display child pages on certain parent pages… can I adjust the
is_page('21')
tag to add additional page IDs?<?php if (is_page('21')) : ?> <?php wp_list_pages('title_li=&child_of=21'); ?> <?php else : ?> <?php endif; ?>
I hope that makes sense.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘is_page(‘ID’)’ is closed to new replies.