{"id":17469,"date":"2012-03-23T23:40:35","date_gmt":"2012-03-23T23:40:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/posts-for-page\/"},"modified":"2015-11-05T12:52:32","modified_gmt":"2015-11-05T12:52:32","slug":"posts-for-page","status":"closed","type":"plugin","link":"https:\/\/tw.wordpress.org\/plugins\/posts-for-page\/","author":9204752,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1","stable_tag":"2.2","tested":"4.3.34","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Posts for Page Plugin","header_author":"Simon Hibbard","header_description":"","assets_banners_color":"","last_updated":"2017-11-28 17:52:53","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.mywebdeveloperblog.com\/development\/wordpress\/posts-for-page-wordpress-plugin","header_plugin_uri":"http:\/\/www.mywebdeveloperblog.com\/development\/wordpress\/posts-for-page-wordpress-plugin","header_author_uri":"http:\/\/www.mywebdeveloperblog.com\/","rating":4.6,"author_block_rating":0,"active_installs":1000,"downloads":54340,"num_ratings":13,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>First Release<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":"1","5":"11"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.11","1.2","1.3","1.4","1.5","1.6","1.61","1.7","1.71","1.72","1.73","1.74","1.75","1.80","1.90","1.91","1.92","2.00","2.01","2.1","2.2"],"block_files":[],"assets_screenshots":{"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1777139","resolution":"2","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1777139","resolution":"1","location":"plugin"}},"screenshots":{"1":"<code>\/postsforpage\/1.0\/screenshot-1.jpg<\/code>","2":"<code>\/postsforpage\/1.0\/screenshot-1.jpg<\/code>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[50451,50453,50452,12986],"plugin_category":[],"plugin_contributors":[79645],"plugin_business_model":[],"class_list":["post-17469","plugin","type-plugin","status-closed","hentry","plugin_tags-post-summary","plugin_tags-posts-by-category","plugin_tags-posts-by-tag","plugin_tags-posts-in-page","plugin_contributors-sihibbs","plugin_committers-sihibbs"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/posts-for-page.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/posts-for-page\/trunk\/screenshot-1.jpg?rev=1777139","caption":"<code>\/postsforpage\/1.0\/screenshot-1.jpg<\/code>"},{"src":"https:\/\/ps.w.org\/posts-for-page\/trunk\/screenshot-2.jpg?rev=1777139","caption":"<code>\/postsforpage\/1.0\/screenshot-1.jpg<\/code>"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Create (or edit) a page. Switch to HTML view.<\/li>\n<li>Insert the shortcode: [posts-for-page cat_slug='your-category-slug'] (to display all posts from this category)<\/li>\n<li>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.<\/li>\n<\/ol>\n\n<p>Example Usage:<\/p>\n\n<p>[posts-for-page cat_slug='asp-net-programming-2' hide_images='false' num='5' read_more='<br \/>Read More &raquo;' show_full_posts='false' use_wp_excerpt='true' strip_html='true' hide_post_content='false' show_meta='true']<\/p>\n\n<!--section=faq-->\n<ul>\n<li>The first image in a post will be place at the start using the WP thumbnail if it is available. If images are a problem they can be hidden using: hide_images='true'<\/li>\n<li>Pagination is added if number of posts is specifified (i.e. num='3')<\/li>\n<li>\"Read More\" Text can be specified (i.e. read_more='More Here')<\/li>\n<li>Pagination link text can be specified using 'prev_text' and 'next_text'<\/li>\n<\/ul>\n\n<ul>\n    <li>Full Options:<\/li>\n    <li>cat_slug : Show all posts with this category slug<\/li>\n    <li>cat : Show all posts with a particular category ID<\/li>\n    <li>tag_slug : Show all posts with a specific tag (more than one can be entered, comma separated, i.e. tag_slug='html,css' (note: no spaces)<\/li>\n    <li>order_by : Order the posts by 'date' or 'title'<\/li>\n    <li>post_id : Show one post<\/li>\n    <li>author : Show posts by author<\/li>\n    <li>num : Limit the number of posts to show<\/li>\n    <li>hide_images (true\/false) : If images are a problem they can be hidden using: hide_images='true'<\/li>\n    <li>Added in V1.5 (Pagination if number of posts is specified e.g. num='x')<\/li>\n    <li>read_more : Replace default read more text (i.e. read_more='Show me more...')<\/li>\n    <li>prev_text : Replace default Previous entry link text when specifying number of posts (i.e. prev_text='Newer')<\/li>\n    <li>next_text : Replace default Next entry link text when specifying number of posts (i.e. next_text='Older')<\/li>\n    <li>show_full_posts(true\/false) : Show full post rather than excerpt (i.e. show_full_posts='true')<\/li>\n    <li>use_wp_excerpt - show the WP generated excerpt or the excerpt if defined for the post<\/li>\n    <li>strip_html : attempts to strip all HTML content (if not using use_wp_excerpt option)<\/li>\n    <li>hide_post_content : set to 'true' to only show the post titles<\/li>\n    <li>show_meta : set to 'true' to show post date and author name<\/li>\n    <li>hide_post_title : set to 'true' to hide the post title, e.g. if you just want to show one post using post_id<\/li>\n    <li>hide_read_more : set to 'true' to hide the read more link<\/li>\n    <li>create_para_tags : set to 'true' to use the WP 'wpautop' function to create <p> tags and <br \/> tags from line breaks<\/p><\/li>\n    <li>order : set to 'ASC' or 'DESC' - Designates the ascending or descending order of the 'orderby' parameter. Defaults to 'DESC'.<\/li>\n    <li>force_excerpt_image : set to 'true' to attempt to get an image from the post content even if no thumbnail is set for the excerpt<\/li>\n    <li>force_image_height : Provide a height for the image shown in the post excerpt (not active if using full post option) <\/li>\n    <li>force_image_width : Provide a width for the image shown in the post excerpt (not active if using full post option) <\/li>\n\n<\/ul>\n\n<ul>\n    <li>Each summary posts is contained in a div with  class=\"pfpItem\", so you can override styles by setting them in the WP stylesheet \"styles.css\". E.g \".div.pfpItem{font-size:20px;}\"<\/li>\n<\/ul>\n\n<ul>\n    <li>Source code for extending can be found on github https:\/\/github.com\/shibbard\/posts-for-page<\/li>\n<\/ul>\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Create (or edit) a page. Switch to HTML view.<\/li>\n<li>Insert the shortcode: [posts-for-page cat_slug='your-category-slug'] (to display all posts from this category)<\/li>\n<li>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.<\/li>\n<\/ol>\n\n<p>Example Usage:<\/p>\n\n<p>[posts-for-page cat_slug='asp-net-programming-2' hide_images='false' num='5' read_more='<br \/>Read More &raquo;' show_full_posts='false' use_wp_excerpt='true' strip_html='true' hide_post_content='false' show_meta='true']<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Release Version<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Update readme<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fixed limit to number of posts which would be displayed<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Update readme<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fixed header tag to be H2<\/li>\n<li>Removes all images and inserts first image (if found) at start of post using WP Thumbnail version<\/li>\n<li>If images are a problem they can be hidden using: hide_images='true'<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Pagination added if number of posts is specifified (i.e. num='3')<\/li>\n<li>\"Read More\" Text can be specified (i.e. read_more='<br \/>More Here')<\/li>\n<li>Pagination link text can be specified using 'prev_text' and 'next_text'<\/li>\n<li>show_full_posts='true' - will show the full post content.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Number of display issues resolved<\/li>\n<li>new options added<\/li>\n<li>use_wp_excerpt - set to 'true' to show the WP generated excerpt or the excerpt if defined for the post<\/li>\n<li>strip_html - set to 'true' attempts to strip all HTML content (if not using use_wp_excerpt option)<\/li>\n<li>hide_post_content - set to 'true' to only show the post titles<\/li>\n<li>show_meta - set to 'true' to show post date and author name<\/li>\n<\/ul>\n\n<h4>1.61<\/h4>\n\n<ul>\n<li>hide_post_title : set to 'true' to hide the post title, e.g. if you just want to show one post using post_id<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>added create_para_tags <\/li>\n<li>fixed a bug with hide_read_more <\/li>\n<\/ul>\n\n<h4>1.71<\/h4>\n\n<ul>\n<li>added order (ASC or DESC) for the order_by parameter<\/li>\n<\/ul>\n\n<h4>1.73<\/h4>\n\n<ul>\n<li>fixed bug with num param<\/li>\n<\/ul>\n\n<h4>1.74<\/h4>\n\n<ul>\n<li>fixed bug with attached images<\/li>\n<\/ul>\n\n<h4>1.75<\/h4>\n\n<ul>\n<li>fixed bug with use_wp_excerpt <\/li>\n<\/ul>\n\n<h4>1.80<\/h4>\n\n<ul>\n<li>added - force_excerpt_image : set to 'true' to attempt to get an image from the post content even if no thumbnail is set for the excerpt<\/li>\n<\/ul>\n\n<h4>1.90<\/h4>\n\n<ul>\n<li>added - force_image_height and force_image_width : force the dimensions of the image used in the post excerpt<\/li>\n<\/ul>\n\n<h4>1.92<\/h4>\n\n<ul>\n<li>Removed force_excerpt_image - Will always attempt to get an image unless set to hidden<\/li>\n<\/ul>\n\n<h4>2.00<\/h4>\n\n<ul>\n<li>Changed name of function image_resize to avoid WP conflicts<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Fix formatting issues especially for full posts<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Tested up to 4.3.1<\/li>\n<\/ul>","raw_excerpt":"Include posts in a Page, by category, a selection of tags or by author with auto summary (read more) option. Supports pagination.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17469"}],"author":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sihibbs"}],"wp:attachment":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17469"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17469"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17469"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17469"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17469"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}