Include posts in a Page, by category, a selection of tags or by author with an auto summary (read more) option. Supports pagination when number of posts per page is specified.
For example if you want a Page (in the main header navigation) to show a list of all posts in a category or set of tags and summarise the posts then this plugin will do it. Add a simple shortcode to the page (in HTML view) and the page is generated from the matching posts.
- Upload
plugin-name.php
to the /wp-content/plugins/
directory
- 通过WordPress的“插件”菜单激活插件
- Create (or edit) a page. Switch to HTML view.
- Insert the shortcode: [posts-for-page cat_slug='your-category-slug'] (to display all posts from this category)
- Add any additional options, it will default to 50 words with the read-more link or set show_full_posts='true' to show full post content.
Example Usage:
[posts-for-page cat_slug='asp-net-programming-2' hide_images='false' num='5' read_more='Read More »' show_full_posts='false' use_wp_excerpt='true' strip_html='true' hide_post_content='false' show_meta='true']