Forums
Forums / Themes and Templates / Dynamic Active links
(@hoss9009)
16 years, 8 months ago
Ok so I’m tying to accomplish Dynamic Menu Highlighting.
Both methods require static/concrete scripting (meaning if I add pages, I have to add more script).
Am I wrong in my assumption of this? Is there a better way to get that active link look w/ WP, while still using wp_list_pages?
wp_list_pages
(@jint)
WP generates a list of links which is dynamically highlighted. You will see the class “current_page_item” if you use the wp_list_pages string. Just style the “current_page_item” in your CSS.
So just style:
.current_page_item { background-color: #999999 {
That’s all?
Sweet! it worked!!
Thank you
The topic ‘Dynamic Active links’ is closed to new replies.