Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #216345

    Thanks for the great theme !!

    I am building a site with portfolio items. In each portfolio item, it’s possible to apply a link to a specific post/page on a portofolio image. But I would like to do the same link for the title of the portofolio item (to the same page/post link of the image).
    How can I do that ?

    Thank you for your help !!

    Matthieu

    #216857

    Hi mzilliox!

    Open up and replace

    
    echo avia_title($the_id, false, "portfolio-title", $link = true, $no_adds = true);
    

    with

    
                            $slides = avia_post_meta($the_id, 'slideshow');
                            if (!empty($slides[0]['slideshow_link']) && $slides[0]['slideshow_link'] == 'url' && !empty($slides[0]['slideshow_link_url'])){
                                echo avia_title($the_id, false, "portfolio-title", $link = $slides[0]['slideshow_link_url'], $no_adds = true);
                            }else{
                                echo avia_title($the_id, false, "portfolio-title", $link = true, $no_adds = true);
                            }
    

    Cheers!
    Peter

    #217534

    Thank you Dude !

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

The topic ‘Portfolio items – Link to a post/page on the title’ is closed to new replies.