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

    Hi,

    I think there should be a fix: Once portfolio items use custom links, the portfolio grid titles don’t include them.

    Current code in portfolio.php:

    
    if(!empty($title_link))
    {
    	$output .= "<a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a>";
    }
    else
    {
    	$output .= "".$title."";
    }
    

    Modified version with custom links:

    
    if(!empty($title_link))
    {
    	$output .= "<a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a>";
    }
    else if(!empty($custom_link))
    {
    	$output .= "<a href='{$custom_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a>";
    }
    else
    {
    	$output .= "".$title."";
    }
    
    #493434

    Hi Carsten!

    thanks for sharing. We would be happy if you make a feature request for Kriesi here: kriesi.at/support/enfold-feature-requests/

    Cheers!
    Andy

    #493712

    Hi Andy,

    thanks for responding.

    I wrote a feature request with a link to this topic.

    Greetings.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Fix: Portfolio custom links’ is closed to new replies.