If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
July 30, 2013 at 6:19 pm #26945
On my home page I want a portfolio item to link to a page instead of the portfolio entry.
I was able to link the the “Support Us” portfolio featured image to the correct page using the “Featured Image” link settings. However if a user clicks on the “Support Us” title or the “Read More” link they are taken to the portfolio entry instead of the “Support Us” page. How can I fix this?July 31, 2013 at 5:28 am #132197
Instead of the Portfolio element, you can use the Columns element. Select 4 columns, on Column Content, select Single page. You need to create a new page to mimic the portfolio items that you want to use. On Overwrite default Link, fill the url then select Preview image and post content. Do this on the 3 remaining columns.
IsmaelJuly 31, 2013 at 11:39 pm #132198
I see how that solution would work, but I’ve just trained my client on how to use the portfolio capabilities to create those 4 items on the home page. Any other way to do it with custom css for that particular portfolio post?August 1, 2013 at 4:29 am #132199
No, you can’t accomplish that with CSS. I can’t think of other way to accomplish it. Let me tag the rest of the support team.
IsmaelAugust 1, 2013 at 6:56 am #132200
In includes/loop-portfolio.php replace:
echo "<a href='".get_permalink()."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".get_the_title()."</a>";
$linktarget = '';
$slides = avia_post_meta($postID, 'slideshow');
$linktarget = avia_get_link($slides, 'slideshow_', '', $postID);
$linktarget = get_permalink();
echo "<a href='".$linktarget."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".get_the_title()."</a>";
echo '<a class="more-link" href="'. get_permalink().'">'.__('Read more →','avia_framework').'</a>';
echo '<a class="more-link" href="'. $linktarget.'">'.__('Read more →','avia_framework').'</a>';
The topic ‘Portfolio Links on home page’ is closed to new replies.