customize current _page_item
-
I have been messing around with the classes.php (Line 567) for a while now.
I’m trying to get it so when your not on the current page the other
- items do NOT have a class at all, so they just look like
instead of <li class=”page_item page_item 1924″>. I know how to hide the page_item page_item 1924 part, but I’m still left with an empty class name when you look at the “view source” code in the browser (<li class=””>)
How do I make it show NO class name at all when it’s not the current page?
Thanks
And how would I put this in my themes function.php file?
- The topic ‘customize current _page_item’ is closed to new replies.