• i have a quick question that i could not find the answer for in the wp_list_pages part.

    in case i use:

    <?php wp_list_pages(‘include=5,9,23&title_li=<h2>’ . __(‘Poetry’) . ‘</h2>’ ); ?>

    and instead of ‘ . __(‘Poetry’) . ‘ i want to include another page, such as page with id of 20, but keep the link as h2 in this case, how do i exactly do that. ?

    anyone could help me .?

Viewing 1 replies (of 1 total)
  • Probably going to need to use get_pages() to get the title of that particular page, then use <?php wp_list_pages('include=5,9,23&title_li=' ); ?> for the actual list of pages.

Viewing 1 replies (of 1 total)

The topic ‘formatting wp_list_pages’ is closed to new replies.