{"id":12317,"date":"2011-02-26T17:53:00","date_gmt":"2011-02-26T17:53:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/set-front-page-post-count\/"},"modified":"2011-10-02T14:00:08","modified_gmt":"2011-10-02T14:00:08","slug":"set-front-page-post-count","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/set-front-page-post-count\/","author":4187540,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.1","stable_tag":"0.1.1","tested":"3.3.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Set Front Page Post Count","header_author":"Adam Harley","header_description":"","assets_banners_color":"","last_updated":"2011-10-02 14:00:08","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/adamharley.co.uk\/buy-me-a-coffee\/","header_plugin_uri":"http:\/\/adamharley.co.uk\/wordpress-plugins\/set-front-page-post-count\/","header_author_uri":"http:\/\/adamharley.co.uk","rating":5,"author_block_rating":0,"active_installs":20,"downloads":3717,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.1.1":"<p>Missing default value added. Query filter no longer applied in admin.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4962,166,16567],"plugin_category":[],"plugin_contributors":[81419],"plugin_business_model":[],"class_list":["post-12317","plugin","type-plugin","status-publish","hentry","plugin_tags-front-page","plugin_tags-posts","plugin_tags-pre_get_posts","plugin_contributors-kawauso","plugin_committers-kawauso"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/set-front-page-post-count.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds a setting under Settings -&gt; Reading to allow the front page post count to be controlled independently of the main post count and adjusts paging to accomodate for this.<\/p>\n\n<p>Uses the <code>pre_get_posts<\/code> hook and checks for the <code>$wp_the_query<\/code> query being passed, so won't work with <code>query_posts()<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>set-front-page-post-count.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>Set the front page post count in the 'Reading' section of the 'Settings' menu<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Where do I set the number of posts to be displayed?<\/dt>\n<dd><p>The plugin adds a \"Front page shows at most\" field to the Readings settings page in the Dashboard.<\/p><\/dd>\n<dt>Why doesn't it work with my theme?<\/dt>\n<dd><p>Due to the way that the WordPress query system is structured, the plugin may not work with usage of <code>query_posts()<\/code> and additional <code>WP_Query()<\/code> instances.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Adds missing default for when no front page count is set<\/li>\n<li>Avoids applying query filter in admin<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First public release<\/li>\n<\/ul>","raw_excerpt":"Allows the front page to have a different number of posts than other pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12317"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kawauso"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12317"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12317"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12317"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12317"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12317"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}