If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
We’re using the portfolio function on two pages on our site. We want to display the title, but only the first line of text in the actual post. But if I tic in Yes on “show title and excerpt”, it shows loads of text from the post.
I found i thread in the forum where i could remove some lines of code from the loop_portfolio.php, but could i change something there to only show the first line of text in the post?
Check this page. Sorry, its in swedish, but if you click on one of the items you’ll se that we have a big title, then a line of text presenting clients name. Thats what we want in the excerpt.
Got it! Found that you can add some own excerpt at the bottom of the page editor!
The topic ‘Customize the excerpt for portfolio’ is closed to new replies.