Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #338300

    Hello, i’m trying to figure out how to make one of the elements of the menu, in this case “News” to open my Facebook account in a new window/lid .
    I think it was commented here: https://kriesi.at/support/topic/ (Purchase code hidden if logged out) -new-window/
    but is this the only way to do it?

    http://www.equipoweb.de

    thanks very much!

    Rodrigo

    #338319

    Hi katfoo!

    Please go to Appearance > Menus and click on “Screen options” and check “Link target” – http://i.imgur.com/ywOvDce.png
    then you can click on your menu elements and choose to open them in new window

    Best regards,
    Yigit

    #338507

    Sorry, i forgot to say i’m working on Coalition 1.7 and using the theme as a One Page Portfolio so i’m not sure where do i have to make the change
    I followed your instructions going to appearence/menu then checked “Link target” but nothing happens, it keeps opening facebook account in same window.
    I hope there can be some fix..
    Thanks very much….

    #338510

    Hi!

    Your links under “Equipo” open in new window on my end. Please flush browser cache and refresh your page a few times. If there is another menu item that you would like to open in new window, please point it out

    Regards,
    Yigit

    #338616

    Sorry but on my end, after refresh and flushing it keeps opening News link in same window :(

    #338620

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_post_target(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.section-news a').attr('target','_blank');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_post_target');

    Best regards,
    Yigit

    #338973

    Yes!
    Vielen Danke. Muchas Gracias Yigit!

    #339122

    Hi!

    Bitte, de nada!

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Open Custom Link in New Window/Lid’ is closed to new replies.