# Wp\_nav\_menu() after not outside the link, link\_after not shown

**URL:** <https://forum.pinegrow.com/t/wp-nav-menu-after-not-outside-the-link-link-after-not-shown/3965>\
**Category:** WordPress\
**Tags:** question\
**Created:** [April 16, 2020, 1:30pm UTC](https://forum.pinegrow.com/t/wp-nav-menu-after-not-outside-the-link-link-after-not-shown/3965 "2020-04-16T13:30:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_robbert](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@chris\_robbert](https://forum.pinegrow.com/u/chris_robbert)\
**Post date:** [April 16, 2020, 1:30pm UTC](https://forum.pinegrow.com/t/wp-nav-menu-after-not-outside-the-link-link-after-not-shown/3965/1 "2020-04-16T13:30:46Z")

</div>

Hey guys,

I am stumbling over a problem, which I am not sure, why it is not working. I am using Pinegrow WP Pro and try to use the wp\_nav\_menu Wordpress action with a custom “after” declared. My problem is, that it the \<‘span’\>, that I try to put after the \<‘a’\> is shown inside the anchor tag. Tried the “link\_after” which results in nothing. Is it somehow mixedup?

Am I doing something wrong, or is it really not working as I expect it?

Hopefully you could help me! Thanks in advance, cheers  
Chris

---

<div class="post-metadata">

**Author:** ![chris\_robbert](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@chris\_robbert](https://forum.pinegrow.com/u/chris_robbert)\
**Post date:** [April 17, 2020, 5:31am UTC](https://forum.pinegrow.com/t/wp-nav-menu-after-not-outside-the-link-link-after-not-shown/3965/2 "2020-04-17T05:31:55Z")

</div>

Hey, found the problem. I was using the wp\_nav\_menu action on a single \<'a\> Tag. As it seems, this breaks the smart nav walker. I don’t know if this is the desired behaviour, or not? Now i changed my markup on the element to ul\>li\>a and now it works.
