If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Hi, I have been trying to truncate the number of words on the Portfolio page using more tag but it hasn’t been working at all – it is still showing the number of words on default? http://lollipopbaby.com.au/website-designs/
open up template_portfolio.php and replace following code:
echo "<a href='".get_permalink()."' class='more-link'>".__('Read more','habitat')."</a>";
This will activate the read more tag feature.
Hi I’ve made the changes and instead of truncating the excerpt now it’s showing the whole posts on the portfolio? Thanks for your help.
Can you create me an admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it. Maybe I need to set the global more variable…
Thanks for your prompt reply – the password email should be on your way now!
Thanks! One more thing though that I have just noticed – the slider doesn’t work properly now on Safari (ok on Firefox). It’s just keep ‘thinking’ but never brings out the images, either on the front page or individual portfolio page. I’ve just updated wordpress & habitat version yesterday but i think it worked on safari last night. Any advice? I’ve deleted your admin account but just let me know if you need it again. Thanks.
I’ve tested your website with all popular browsers: Firefox, Chrome, Safari (5.1 Windows Edition), Opera and IE8, IE9 and couldn’t notice any js errors or slider glitches. Maybe try to clear the browser cache.
Thanks Peter, not sure what happened. I cleared the cache last night and didn’t work but it’s all fine now. Thanks so much for your help. Much appreciated.
The topic ‘Truncating words with More Tags on portfolio category page doesn't work’ is closed to new replies.