Created
March 4, 2012 20:48
-
-
Save chasereeves/1974727 to your computer and use it in GitHub Desktop.
WP List children of a specific, known page. (e.g., Resources)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=========================================================== SIDEBAR == Resources | |
function sidebar_resources() { ?> | |
<li class="widget widget_resources"> | |
<h3>Resources</h3> | |
<ul> | |
<?php wp_list_pages('title_li=&child_of=614&sort_column=post_modified') ?> | |
</ul> | |
</li> | |
<?php } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment