Remove anchor from active list item
Can the text inside an active list item be only text and not an anchor with a link?
When you are in a page the link in the menu to that page should be only text and not anchor
Thank you!
Hey Daniel,
I agree this might be the preferred behaviour. I assigned myself to this issue and will investigate when I have time. Unfortunately I'm pretty busy this month but will get back to this as soon as I can.
Thanks for the suggestion!
Thanks to you William!
Best Regards.
Daniel Muñoz Rey Freelance Web designer and developer
On 14 June 2017 at 10:16, William Patton [email protected] wrote:
Hey Daniel,
I agree this might be the preferred behaviour. I assigned myself to this issue and will investigate when I have time. Unfortunately I'm pretty busy this month but will get back to this as soon as I can.
Thanks for the suggestion!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wp-bootstrap/wp-bootstrap-navwalker/issues/280#issuecomment-308373423, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcRE2baGTNYYVrg9Ik2pe4H29DT_YERks5sD6TUgaJpZM4Nr43a .
WP core makes the current page's menu item a link.
According to https://www.w3.org/WAI/tutorials/menus/structure/#indicate-the-current-item both approaches are valid.
This technique is particularly useful when the anchor () cannot be removed from the HTML.
may be read as if the first approach is preferable.