New Landing How can we help? Themeforest Theme Support Pinpoint Clients – open in new window?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Pinpoint
  • #8060
    sunshine
    Member
    Post count: 39

    Hi, I’m trying to make the clients open in a new window when you click on the logo but struggling to find a solution. I’ve tried using this code but it doesn’t seem to work.

    Yorkshire Post

    Any ideas?

    #8099
    Cosmin – SUPPORT
    Member
    Post count: 3851

    That’s a regular link, it doesn’t specify opening in a new window. Try this:

    <a href="http://www.yorkshirepost.co.uk/" target="_blank">Yorkshire Post</a>

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #8105
    sunshine
    Member
    Post count: 39

    Yes, sorry…that was the exact code that I tried in the client meta link box but it doesn’t work.

    Is it possible to set an open in new window option globally for each client, perhaps?

    Thanks again.

    #8117
    Ben – SUPPORT
    Member
    Post count: 690

    Hmm that should work, the only other way I could think would be javascript but that would be a bit of custom work.

    could you post your link and login details as a private link (click the checkbox) and I’ll look into it.

    Thanks
    Ben

    #8123
    sunshine
    Member
    Post count: 39
    This reply has been marked as private.
    #8199
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Right, it won’t do that because WP will be stripping out HTML code.

    So you need to edit this file via FTP (it’s not editable inside WP): \pinpoint\includes\page-builder\composer\lib\shortcodes\clients.php

    Find line 62:

    $items .= '<a href="'.$client_link_url.'"><img src="'.$image[0].'" width="'.$image[1].'" height="'.$image[2].'" /></a>';

    Change it to:

    $items .= '<a target="_blank" href="'.$client_link_url.'"><img src="'.$image[0].'" width="'.$image[1].'" height="'.$image[2].'" /></a>';

    Save the file to server – now all your client logos will open in a new window.

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #8225
    sunshine
    Member
    Post count: 39

    Works a treat, thanks!!

    #8387
    Cosmin – SUPPORT
    Member
    Post count: 3851

    You’re welcome 🙂

    If you like the product and support, please take a moment to rate our theme in your ThemeForest downloads area, we would greatly appreciate it!

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #8445
    sunshine
    Member
    Post count: 39

    Love the theme and can’t fault the support! Rated! 🙂

    #8517
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Thank you! 🙂

    Regards,
    ————————————————————————————————————

    Cosmin – Support

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register