Remove class=”page_item
-
I am trying to make a menu that works with Dreamweaver’s SpryMenu.
I’ve got everything working except that the ”- ” ‘s have a class automatically tacked on to them. What’s getting tacked on to the ”
- ” ‘s are:
"class="page_item page-item-5"
I just want the output to look like:
<li>page 1</li> <li>page 2</li> etc....
I am using this function to get the pages outputted.
wp_list_pages('title_li=&echo=0&depth=1&sort_column=menu_order&child_of='.$menuItem->ID);
I also don’t really want to edit WordPress functions directly to avoid upgrade issues in the future. If I can add some other code to the page that would be great.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove class=”page_item’ is closed to new replies.