Comments Medicha started the conversationDecember 10, 2020 at 2:44pmHello, Is it possible to set external links to navbar? For exemple, by redirecting to external link with JQuery ?Or have you special class for that?I want to have links following anchors which redirect to page link... I don't know if it is possible in wordpressThanks 2,963Andrew repliedDecember 10, 2020 at 5:08pmHi Medicha, Use the following Custom JS code. <script type="text/javascript"> jQuery( document ).ready(function() { jQuery('#top nav > ul > li > a').attr('target', '_blank'); }); </script> You can add the Custom JS code in here : Thanks 1 LikeMedicha repliedDecember 13, 2020 at 4:40pmThanks Andrew, the externals links works Sign in to reply ...
Hello,
Is it possible to set external links to navbar? For exemple, by redirecting to external link with JQuery ?
Or have you special class for that?
I want to have links following anchors which redirect to page link... I don't know if it is possible in wordpress
Thanks
Hi Medicha,
Use the following Custom JS code.
You can add the Custom JS code in here :
Thanks
Thanks Andrew, the externals links works