Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #815934

    Hi,

    I found these problems when setting a custom link for portfolio items:

    1. Portfolio grid only links with image to the custom link. Title is plain text, no link at all.
    2. Magazine with portfolio entries ignores custom links completly and links to the default permalink.

    My quick and dirty fix:

    portfolio.php, around line 424

    if($custom_link)
    {
    	$title_link = $custom_link;
    	$link = $custom_link;
    }

    magazin.php around 528, after $link

    $custom_link = get_post_meta( $entry->ID ,'_portfolio_custom_link', true) != "" ? get_post_meta( $entry->ID ,'_portfolio_custom_link_url', true) : false;
    	if($custom_link)
    	{
    		$link = $custom_link;
    	}
    • This topic was modified 7 years, 5 months ago by Gero.
    #816138

    Hey Gero,

    Could you post a link to where we can reproduce the issue please?

    Best regards,
    Rikard

    #816205

    Hi,

    if you take a look at those php files mentioned, you can see that portfolio.php is actually written that way, so custom links can be treated differently. I don’t know why. Where as magazine.php completly lacks any custom link treatment. I fixed those for me, so everything is working as intended on my site now.

    I would need to recreate the default setup just to show you. But you can see the working elements in action on my site. Hope that helps to illustrate the problem.

    #818688

    Hi,

    Thank you for reporting this problem and your feedback. I could reproduce it and provided a fix. It will be in one of the future releases.

    Feel free to come back with further questions and/or problems you have. Simply open a new thread.

    Best regards,
    Günter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.