Tagged: target
Hi,
I would like to create an image menu in the sidebar using the partner widget. Unfortunately avia partner widget open the links in a new window. How can I let the user choose ? Where does I can remove the target=”_blank” instruction ?
Hey blomki,
Can you please include a admin login in the private content area so we can take a closer look.
Best regards,
Mike
Hi Mike,
have you had a look at the back-office ?
Hi,
You would need to load the element from your childtheme and edit the target location
Please do take a look at the documentation I refereed and you will see the rest.
Best regards,
Basilis
Thank you, but how can I change a widget (the advertising area) with this information concerning Avia Builder Shortcodes ?
Hi,
Please add the following script in the functions.php file.
// remove target attribute
function ava_custom_script_mod(){
?>
<script>
(function($) {
$('.avia_partner_widget a').removeAttr('target');
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'ava_custom_script_mod');
Best regards,
Ismael
Thank you Ismael, it works perfectly.
Hi,
Happy we could help.
Feel free to create a new ticket if you need anything else.
Best regards,
Basilis