Listing pages in a certain order
-
I’m trying to show child-pages in a certain order, in a list.
This is my code to output the pages as a list
$parent = $wp_query->post->ID; if(wp_list_pages("title_li=&child_of=$parent&echo=0" )) { wp_list_pages("title_li=&child_of=$parent&echo=1" ); }
Now I want to show the first four of the pages in a particular order
-Summary -Info -Groups -Entries -Other Page -Another Page
In other words, Summary, Info, Groups, Entries should be shown in that order (providing they exist), and other pages below. How would I achieve that?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Listing pages in a certain order’ is closed to new replies.