If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Is there a way to pull the excerpts of the latest three items added to the portfolio, into a particular post? I know this is outside the support of the template, but thought you might know a neat way of doing this. Thanks.
You can pull them into a custom page template, but not directly through another post.
This code should get you started, just include it where you want the 3 Portfolio excerpts to appear:
$additional_loop = new WP_Query("post_type=portfolio&posts_per_page=3");
while ($additional_loop->have_posts()) : $additional_loop->the_post();
The topic ‘Portfolio in posts’ is closed to new replies.