wp_list_pages css problem…
-
Hello all.
In my navigation bar, I am using wp_list_pages to list some static pages (https://mcdev.com/w/articles/), see the top.However, in another area I am using it to show a list of sub-pages (https://mcdev.com/w/articles/)…
The problem is that in the nav bar, I am using display:inline.
On the sub-pages, I need to use display:block.Is there a variable that I can use to tell them to use different styles?
Bonus question:
How can I include an article but exclude all of it’s children? If I can’t, i guess I can just manually link them in the navbar; there are only a few pages I want in navigation anyway.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_list_pages css problem…’ is closed to new replies.