Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #824506

    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 ?

    #828432

    Hey blomki,
    Can you please include a admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

    #828434
    This reply has been marked as private.
    #829584

    Hi Mike,
    have you had a look at the back-office ?

    #830316

    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

    #830644

    Thank you, but how can I change a widget (the advertising area) with this information concerning Avia Builder Shortcodes ?

    #832791

    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

    #835311

    Thank you Ismael, it works perfectly.

    #835602

    Hi,

    Happy we could help.
    Feel free to create a new ticket if you need anything else.

    Best regards,
    Basilis

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Partner widget : how to edit the target ?’ is closed to new replies.