Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm looking for some type of script that allows me to select custom image bullets for my wp_list_pages for 3 scenarios:

  1. If a page does not have a child
  2. If there are children
  3. If a page was recently updated, provided that the page has children

I'm not sure how to do this. Since the depth of the children can vary, I would not edit style.css for for my last child.

Since the wp_list_pages is what outputs the ul, I'm not sure how to write an argument (perhaps in my Walker class) that says if this page has zero children, .

Can anyone advice on this?

share|improve this question

closed as not a real question by toscho Jul 22 '12 at 10:10

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Add a picture of your desired result. It is not entirely clear what you want … and that’s probably the reason you didn’t get an answer. –  toscho Jun 30 '12 at 22:16

Browse other questions tagged or ask your own question.