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

    Hello Kriesi Team!

    My Site is designed as a Static Portfolio.
    Means the frontpage is set via the Template Builder as a Portfolio page.
    Now i have linked all Portfolio-Items (Images) to a respective custom Page so that i can decide how the Layout looks like.

    What i now try to achieve is that the Title an Excerps are also linked to that specific page.

    The portfolio-items are properly linked to the custom pages, but the text underneath is linking to the portfolio-items and not the custom pages:

    http://www.martinhartzsch.de

    Any ideas how i get this to work?

    Best regards
    Martin

    #239251

    Hi martinhartzsch!

    Open up wp-content/themes/propulsion/includes/loop-portfolio.php and replace:

    
    echo "<a href='".get_permalink()."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".get_the_title()."</a>";
    

    with

    
                            $slides = avia_post_meta(get_the_ID(), 'slideshow');
                            if (!empty($slides[0]['slideshow_link']) && $slides[0]['slideshow_link'] == 'url' && !empty($slides[0]['slideshow_link_url'])){
                                $link = $slides[0]['slideshow_link_url'];
                            }else{
                                $link = get_permalink();
                            }
    
    echo "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".get_the_title()."</a>";
    

    Regards,
    Peter

    #239661

    Dude!
    Thank you so much! Awesome! Great!
    This is definitely working.

    Your support is excellent!

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

The topic ‘Link Manually on Portfolio Title&Excerpts’ is closed to new replies.