{"id":24552,"date":"2013-08-02T04:40:46","date_gmt":"2013-08-02T04:40:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bbpress-loadmore-topics\/"},"modified":"2015-02-08T14:51:58","modified_gmt":"2015-02-08T14:51:58","slug":"bbpress-loadmore-topics","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/bbpress-loadmore-topics\/","author":10066855,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"4.1.42","requires":"3.5","requires_php":"","requires_plugins":null,"header_name":"bbPress load more topics","header_author":"ckchaudhary","header_description":"","assets_banners_color":"e4e9ef","last_updated":"2015-02-08 14:51:58","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/webdeveloperswall.com\/contact-us","header_plugin_uri":"http:\/\/webdeveloperswall.com\/wordpress\/bbpress-loading-more-topics-with-ajax","header_author_uri":"http:\/\/webdeveloperswall.com\/wordpress\/bbpress-loading-more-topics-with-ajax","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2747,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"ckchaudhary","date":"2013-08-03 14:00:44"},"1.1":{"tag":"1.1","author":"ckchaudhary","date":"2015-02-08 14:51:58"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":750701,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2770,11301,11302],"plugin_category":[44],"plugin_contributors":[82620],"plugin_business_model":[],"class_list":["post-24552","plugin","type-plugin","status-publish","hentry","plugin_tags-bbpress","plugin_tags-bbpress-load-more","plugin_tags-bbpress-loadmore","plugin_category-discussion-and-community","plugin_contributors-ckchaudhary","plugin_committers-ckchaudhary"],"banners":{"banner":"https:\/\/ps.w.org\/bbpress-loadmore-topics\/assets\/banner-772x250.jpg?rev=750701","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/bbpress-loadmore-topics_e4e9ef.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Add a 'load-more' button in topics archive. On click of it, new topics are appended at the end of topics list.<\/p>\n\n<p>The plugin has no setting, check the 'Installation' screen for more information.<\/p>\n\n<!--section=installation-->\n<p>Install the plugin like you'd <a href=\"http:\/\/codex.wordpress.org\/Managing_Plugins\">install any wordpress plugin<\/a>.<\/p>\n\n<p>The plugin will automatically add a loadmore button at the bottom of topics list.<\/p>\n\n<p>+++++++++++++++++<\/p>\n\n<p><strong>Important:-<\/strong> If you are updating from old version of this plugin, chances are you might get 2 'load more' buttons.\nIn that case:<\/p>\n\n<ol>\n<li><p>You can either remove the function call from your template file(which you'd have done earlier)<\/p><\/li>\n<li><p>Or, you can put the following code in your functions.php<\/p><\/li>\n<\/ol>\n\n<p><em><code>remove_action( \"bbp_template_after_topics_loop\", \"bbpresslmt_loadmore_button\" );<\/code><\/em><\/p>\n\n<p>+++++++++++++++++<\/p>\n\n<p>In case, 'load more' button is not added automatically, you can put following code in bbpress template file called loop-topics.php,<\/p>\n\n<p><em><code>&lt;?php if( function_exists( 'bbpresslmt_loadmore_button' ) ): ?&gt;\n&lt;?php bbpresslmt_loadmore_button(); ?&gt;\n&lt;?php endif; ?&gt;<\/code><\/em><\/p>\n\n<p>preferably inside <code>&lt;li class=\"bbp-body\"&gt;<\/code> or <code>&lt;li class=\"bbp-footer\"&gt;<\/code><\/p>\n\n<p>And of course, you should copy template files into your theme\/child theme and then make changes. <a href=\"http:\/\/codex.bbpress.org\/amending-bbpress-templates\/\">Instructions<\/a>.<\/p>\n\n<p>+++++++++++++++++++<\/p>\n\n<p>If you want to add the button in a different place:<\/p>\n\n<ol>\n<li><p>Remove original button by adding following code in your theme's functions.php file: \n<em><code>remove_action( \"bbp_template_after_topics_loop\", \"bbpresslmt_loadmore_button\" );<\/code><\/em><\/p><\/li>\n<li><p>Add following code where you want the button to appear: \n<em><code>&lt;?php if( function_exists( 'bbpresslmt_loadmore_button' ) ): ?&gt;\n&lt;?php bbpresslmt_loadmore_button(); ?&gt;\n&lt;?php endif; ?&gt;<\/code><\/em><\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='activated%20the%20plugin%2C%20but%20i%20don%27t%20see%20any%20load%20more%20link.'><h3>Activated the plugin, but i don't see any load more link.<\/h3><\/dt>\n<dd><p>you can put following code in bbpress template file called loop-topics.php,<\/p>\n\n<p><em><code>&lt;?php if( function_exists( 'bbpresslmt_loadmore_button' ) ): ?&gt;\n&lt;?php bbpresslmt_loadmore_button(); ?&gt;\n&lt;?php endif; ?&gt;<\/code><\/em><\/p>\n\n<p>preferably inside <code>&lt;li class=\"bbp-body\"&gt;<\/code> or <code>&lt;li class=\"bbp-footer\"&gt;<\/code><\/p>\n\n<p>And of course, you should copy template files into your theme\/child theme and then make changes. <a href=\"http:\/\/codex.bbpress.org\/amending-bbpress-templates\/\">Instructions<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>1.1<\/strong><\/p>\n\n<ul>\n<li>Automatically display load more button at proper location.<\/li>\n<li>Added security in ajax.<\/li>\n<li>Small miscellaneous improvements.<\/li>\n<\/ul>\n\n<p><strong>1.0<\/strong><\/p>\n\n<p>Initial release<\/p>","raw_excerpt":"Load more topics with ajax","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24552"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ckchaudhary"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24552"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24552"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24552"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24552"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24552"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}