You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love your nav menu code because it make it really simple to setup drop-down menu. However, "Open link in a new tab doesn't work" and I have spent hours trying to figure it out. If I disabled your menu code and revert to standard menu setup the "Open link in a new tab" works. I haven't card anything with the code except for the CSS. Do you have any suggestions?
I try this code $target= ! empty( $item->target ) ? ' target="' . esc_attr( $item->target ) .'"' : ' target=”_blank" '; and then this to the anchor link but it is opening all the links into a new tab. I just need to open links that I set in the menu open to option to open in new tab.
The text was updated successfully, but these errors were encountered:
I love your nav menu code because it make it really simple to setup drop-down menu. However, "Open link in a new tab doesn't work" and I have spent hours trying to figure it out. If I disabled your menu code and revert to standard menu setup the "Open link in a new tab" works. I haven't card anything with the code except for the CSS. Do you have any suggestions?
I try this code $target= ! empty( $item->target ) ? ' target="' . esc_attr( $item->target ) .'"' : ' target=”_blank" '; and then this to the anchor link but it is opening all the links into a new tab. I just need to open links that I set in the menu open to option to open in new tab.
The text was updated successfully, but these errors were encountered: