the website in question is right here I\’m trying to generate a CSS dropdown, however no such option is available in wp_list_pages(), I also won\’t be able to get the desired effect using WP Menus in the appearance menu (I used this method to generate my footer links)
This is ideal:
I know how to generate the menu, I just don\’t know how to get it under the \”cars\” menu without a hack javascript solution.
The ideal solution involves targeting the list item by the template name \”Car Showcase\” and allowing me to generate PHP/HTML (The code needed to make the dropdown) after it. Does this make sense to everyone?





Rating:
The post php – How to add custom code to specific <li>s in wordpress while building navigation? appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/php-how-to-add-custom-code-to-specific-lis-in-wordpress-while-building-navigation-2.html
No comments:
Post a Comment