If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Well, the title of this post may not be exactly to the point but I couldn’t come up with anything more appropriate :)
What I’m trying to achieve is make the 4 thumbs on the mainpage clickable like the title below them (same target)
At the same time I’d like to make the title below the thumb on the portfolio page clickable.just like the thumb above the title (also same target).
At the moment the mainpage and the portfolio page behave contrarious. On the mainpage the title is a link wheras on the portfolio page the thumb is a link. I’d like to behave both pages the same way since I have taken out the excerpt as well as the “Read more” buttons.
To illustrate what I’m talking about, I have uploaded some screenshots.
I tried to install this behaviour in template_portfolio.php and index.php but didn’t succedd :(
Help would be much appreciated. Thanks!
For the first screenshot: Replace following code in kclass_display_box.php located in the framework folder.
echo '<a href="'.$page_link.'">'.$preview.'</a>';
For the second screenshot replace following in template_portfolio.php:
echo "<h3 class='name_sort'>".get_the_title()."</h3>";
echo "<a href=".get_permalink()."><h3 class='name_sort'>".get_the_title()."</h3></a>";
The topic ‘How to generate title-/thumb-links’ is closed to new replies.