Skip to main content
8 events
when toggle format what by license comment
Nov 17, 2011 at 19:42 comment added Tom J Nowell wp-includes/post-template.php
Nov 17, 2011 at 19:14 comment added AlxVallejo By the way, do you know where the Walker_Page is located? The custom walker function extends the Walker_Page. I need to understand how that loops through each page. Currently I have wp_list_pages running with the walker executing code at each page entry (Show title + Show date modified, etc). However, I cannot get it to show the # of children in the hierarchy for that particular parent. Any ideas? Thanks.
Nov 17, 2011 at 3:06 vote accept AlxVallejo
Nov 16, 2011 at 22:04 vote accept AlxVallejo
Nov 16, 2011 at 22:04
Nov 16, 2011 at 19:55 history edited Tom J Nowell CC BY-SA 3.0
added 346 characters in body
Nov 16, 2011 at 19:54 comment added Tom J Nowell no no, when you make the call to wp_list_pages, pass in a custom walker object of your own creation, and it will use that object instead fo the default to create the output. To make your walker object you copy paste the default, change its name, and add an if statement checking if the data for the current element is within the last 24 hours
Nov 16, 2011 at 19:05 comment added AlxVallejo So in combining those two tutorials, I would add a filter as such: add_filter('wp_list_pages', 'my_filter_function'); ? Also, I find it strange that much of documentation on the codex is missing! Thanks for the help though!
Nov 16, 2011 at 16:27 history answered Tom J Nowell CC BY-SA 3.0