CleverCreativeMavericks Posted April 10, 2023 Share Posted April 10, 2023 Hi there, I am using the linking Post Title to Source URL and want the blog post title links to open in the same tab. I tried to used this code but understand it makes all external link open in the same tab: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('a').attr('target','_self'); }); </script> However, I would like to keep the social links and the About link to open in a new tab. Is there a way to open only blog post links in the same tab and keep social links and About link open in a new tab? Link to comment
tuanphan Posted April 13, 2023 Share Posted April 13, 2023 Hi, Can you share link to blog page or page where you added blog post? We can help easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment