lebleu29
Member
Posted 2 months ago #
Trying to display a full post on my homepage.
Here is the code I came across on the forum:
[display_posts include_content="true"]
If the id of the post I want to display is 44, how do I alter the code?
Also, instead of id'ing a post each time, is there a way to default always to the most recent blog post in the shortcode?
Thank you.
http://wordpress.org/extend/plugins/display-posts-shortcode/
By default the shortcode displays the top 10 most recent posts. You can limit this to the most recent like this:
[display-posts posts_per_page="1" include_content="true"]
nikjvale
Member
Posted 2 months ago #
I added a parameter 'full_first_post' which if true shows the content for the first post, and then just the titles for the remaining posts - http://www.mini650pacificchallenge.com/sailors/usa806/#Audio
Perhaps a more useful modification would be to have number instead of a bool making it possible to show the contents of the first X posts.