Open PDF from Portfolio area

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14494
    nbrauleke
    Member

    Hello Guys,

    is it possible to open a PDF-file in a new window on clicking the portfolio picture without opening the known portfolio page?

    Thanks for your help 🙂

    Best regards,

    Niklas.

    #14506
    Veena
    Moderator

    You can achieve the same with the help of this plugin –

    http://codecanyon.net/item/essential-grid-wordpress-plugin/7563340

    #14508
    nbrauleke
    Member

    Hey Phoenix,

    thanks for your help! I just want to change the link-information on the portfolio pics – i hope, there is a way without being in need buying a new plugin?

    Best regards,

    Niklas.

    #14540
    Raghavendra
    Moderator

    You can try the following custom code in the file framework/functions/thumbnail-functions.php file at line number 166 –

                $post_type = get_post_type($post_id);
                if ($post_type === 'portfolio')
    			    $post_link = get_post_meta($post_id, '_portfolio_link_field', true);
    

    and in the Project URL field of portfolio item, you specify the PDF url. Hope this helps.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Agile Theme Support’ is closed to new topics and replies.