wp_list_pages Classes
-
This should be fairly simple but I’ve searched for hours in vein.
I’m trying to do something similar to this https://nettuts.s3.amazonaws.com/196_jquery/index.htm so that I can hide or display groups of pages in a list. To do that I need to assign classes to each of my pages, I’ve tried using the Classy wp_list_pages plugin but that assigns every page with a different class, I need to be able to assign the same class to a group of the links. I also need to be able to assign multiple classes to each list item.
I could hard code it but then I would need to manually change either the CSS or the markup every time I added a new page. Anyone have any ideas to fix this conundrum?
- The topic ‘wp_list_pages Classes’ is closed to new replies.