Reply To: Open link in new tab – icon Box

forums forums Circle Flip Support Open link in new tab – icon Box Reply To: Open link in new tab – icon Box


Omar
Keymaster
#5224

Hello Yachtmaster,

There’s no option for that, but we’ll make sure to add it in an upcoming update.

for your installation you can achieve this by adding a bit of code
in the file
circleflip/creiden-framework/content-builder/blocks/cr-features-home.php
line 504
change
if($tab['link'] != '') $output .= '<a href="'.esc_url($tab['link']).'">';

to be
if($tab['link'] != '') $output .= '<a target="_blank" href="'.esc_url($tab['link']).'">';

and for the image block
file circleflip/creiden-framework/content-builder/blocks/cr-image-block.php
you’ll find 4 occurrences of

<a href="<?php echo esc_url($link_target); ?>

add a target=”_blank” before each href
to be like

<a target="_blank" href="<?php echo esc_url($link_target); ?>

Let me know if you need help changing those

Cheers