LINK TO PORTFOLIO PAGE – NEW WINDOW/TAB

Support Forums for LiveMesh Themes & Plugins Forums Agile Theme Support LINK TO PORTFOLIO PAGE – NEW WINDOW/TAB

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #5995
    IT EXPERIENCE
    Participant

    Hi,
    carry under an old post reply “LINK TO PORTFOLIO PAGE – BLOG POST”

    > Hi,
    In the Edit Portfolio Item screen you need to create a Custom Field with the name “custom_url” and the value of your Desired URL.

    Then, go to the theme folder and open the file framework / functions / thumbnail-functions.
    There, look for the Following code = $ post_link get_permalink ($ post_id); and replace it with: $ post_link = get_post_meta ($ post_id, ‘custom_url’, true); <

    This step works perfectly but I would need in addition to using a custom link that it would open in a new window / tab.
    Someone can help me?

    PS: Congratulations LiveMesh for the theme, it’s great!

    #6095
    Raghavendra
    Moderator

    Pls look for this code –

    $image_info .= '

    ' . $post_title . '

    ';

    at line number 156 of the thumbnail-functions.php file and replace it with –

    $image_info .= '

    ' . $post_title . '

    ';
    #6140
    IT EXPERIENCE
    Participant

    Hi,
    thanks for the reply but the change doesn’t work.

    #6161
    Ernesto
    Member

    Hi, could you send us a link where the problem is occuring so we can inspect the issue by ourselves?

    #6182
    IT EXPERIENCE
    Participant

    Of course, here is the link:
    http://www.wineyes.net

    Greetings

    #6209
    Ernesto
    Member

    Hi, sorry but, which is the custom link you need to modify?

    #6226
    IT EXPERIENCE
    Participant

    In this section: http://www.wineyes.net/ # serviziprodotti I need to open all objects (each one has a custom_url awarded) in a new tab.
    Thanks
    Wineyes

    #6260
    Ernesto
    Member

    Hi,

    Let’s try this. Go to the theme folder and open the file “header.php”. Just before the tag, paste this new code:

    <script>jQuery( window ).load(function() {jQuery('#showcase-items a').attr('target', '_blank');});</script>

    #6313
    IT EXPERIENCE
    Participant

    Working properly!
    Thanks for the help!
    Wineyes

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘LINK TO PORTFOLIO PAGE – NEW WINDOW/TAB’ is closed to new replies.