If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
i added ACF custom fields il php code as you explained to me, in the portfolio. And it works, thanks.
Now I would add a link in the portfolio overview, below my text, which should conduct to the portfolio single page and the rest of the text/description (what did the Read More balise in your theme)
I add a link as this :
echo Read More
but what is the target (php file ?) to link directly and automatically with the portfolio single page corresponding to the current portfolio item ?
Sorry, if I understood you correctly, what you need is line 114 of /includes/loop-portfolio.php In that line the function get_permalink() is used to retrieve the URL of the portfolio-item page,. Since you plan on using that. simply add code below to overwrite line 114
$temp_url_portfolio_item = get_permalink();
echo "<a href='".$temp_url_portfolio_item."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>".get_the_title()."</a>";
and now you should have the url in the $temp_url_portfolio_item variable. so when you need to echo it out on the next few lines (i guess) just
The topic ‘ACF & Portfolio – 2’ is closed to new replies.