Where do I place my target="_blank" code?
-
I need to have my social media links open in a new window. I’ve tried to put the blank target code inside the code you see below. But I can’t seem to find the correct placement for the code b/c everytime I save it and try the link it opens in the same window … now a new one.
Any ideas where I need to place it so it works? Note: I put the {{ }} in place of the < > so it won’t become a link for purposes of this post.
TIA!!!
{{a href=”<?php the_field(‘facebook_link’, ‘option’); ?>”><img src=”<?php the_field(‘facebook_icon’, ‘option’); ?>” alt=”syj-facebook”></a}}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Where do I place my target="_blank" code?’ is closed to new replies.