Question
Wordpress nav menu created by wp_nav_menu can highlight current menu item. How can i strip anchor from current menu item? For example, we have menu: <ul> <li class="current-menu-item"><a href="/somelink">Home</a></li> <li><a href="/elselink">Item</a></li> ... </ul> Can we remove <a href="/somelink"> and leave just "Home" if it is current ...
0
, 5 years 0 Answers 80 views

Question
What is the best way of linking to WordPress pages with PHP? Considering that I move the page from a local server to a live server to another URL? <a href="/wordpress/services" title="Read More" class="yellowButton">Read more</a> How could you replace this code ...
0
, 9 years 0 Answers 79 views