Forums
Forums / Themes and Templates / Menu sorting order
(@bjornesjo)
13 years, 7 months ago
I have the following code for a template:
<ul class="topmenu"> <li><a href="<?php echo get_settings('home'); ?>"><?php _e('HEm'); ?></a></li> <?php wp_list_pages('sort_column=id&depth=1&title_li='); ?> <li><a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.gif" alt="rssfeed" /></a></li> </ul>
Can someone tell me what this line means? sort_column=id&depth=1&title_li=
sort_column=id&depth=1&title_li=
I know its something about the order of the menus pages.
/ thanks
(@esmi)
See http://codex.wordpress.org/Function_Reference/wp_list_pages
The topic ‘Menu sorting order’ is closed to new replies.