How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support Opening Social Media links in a new tab

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #17452

    Hi guys,

    I have been looking at all the documentation and several threads at the forum, but can not find how I can make the social media buttons open in a new tab instead of the current window. Anyone that can point me in the right direction please?

    Using v4, with child theme and I am talking about the social media buttons on the top left / bottom right.

    Best regards!


    Same question for the links you can use at the images at the bottom (like the GamCare, BeGambleAware etc logos).



    Currently there is not such an option to do this, so you need to overwrite some things using PHP code inside your child theme.

    For the social icons, you need to overwrite the “poka_social_icons” function (you can copy paste it inside your functions.php), find the line where we enter the element and add a target=”_blank” to the element.

    For the footer images, you need to add the same target=”_blank” attribute to the elements inside the footer.php.


    Thank you. Will do that then, thank you.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.