{"id":4166,"date":"2008-12-04T15:55:28","date_gmt":"2008-12-04T15:55:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/postdivider\/"},"modified":"2009-05-12T19:51:30","modified_gmt":"2009-05-12T19:51:30","slug":"postdivider","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/postdivider\/","author":294361,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"2.7.1","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Post Divider","header_author":"Corey Dutson","header_description":"","assets_banners_color":"","last_updated":"2009-05-12 19:51:30","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/wallofscribbles.com\/wordpress-plugins","header_plugin_uri":"http:\/\/www.wallofscribbles.com\/PostDevider","header_author_uri":"http:\/\/www.wallofscribbles.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1770,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[529,1395,14204],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-4166","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-excerpt","plugin_tags-more-tag","plugin_committers-loveless"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/postdivider.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Provides hooks that can be used within 'The Loop' to grab content from before and after the <!--MORE--> tag. If no MORE tag is provided, it will return <code>the_excerpt()<\/code> and <code>the_content()<\/code> respectively. You can also use a function to access all content, regardless of MORE tag.<\/p>\n\n<h3>Current version<\/h3>\n\n<p>Current version: 1.2<\/p>\n\n<h3>Revision History<\/h3>\n\n<p>0.1 - made within the functions.php file of the theme\n0.5 - created the plugin, still required $post-&gt;post_content to be passed to functions\n1.0 - removed $post-&gt;post_content to be passed in.\n1.1 - fixed a bug that stopped <code>the_content()<\/code> from posting\n1.2 - added function to get all post content, regardless of MORE tag<\/p>\n\n<h3>GPL<\/h3>\n\n<p>Copyright 2008  Corey Dutson  (email : cdutson@wallofscribbles.com)<\/p>\n\n<p>This program is free software; you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.<\/p>\n\n<p>This program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>PostDivider<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>Once that's done, you can use the following hooks to display the content:\n<em>(Please note that these functions operate within 'The Loop')<\/em><\/p>\n\n<p><strong>Getting the text before the <!--MORE--> tag<\/strong>\n* <code>the_pre_more_text();<\/code> - this will display the text automatically.\n* <code>$content = get_the_pre_more_text();<\/code> - this stores the text within a variable.<\/p>\n\n<p><strong>Getting the text after the <!--MORE--> tag<\/strong>\n* <code>the_post_more_text();<\/code> - this will display the text automatically.\n* <code>$content = get_the_post_more_text();<\/code> - this stores the text within a variable.<\/p>\n\n<p><strong>Getting all of the text regardless of <!--MORE--> tag<\/strong>\n* <code>all_post_text();<\/code> - this will display the text automatically.\n* <code>$content = get_all_post_text();<\/code> - this stores the text within a variable.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>The pre more text is just displaying the excerpt, and the post more has all of the content including the excerpt! *What's going on?*<\/dt>\n<dd><p>If your post does not have a <strong>MORE<\/strong> tag used in it, the functions default to the normal Wordpress functions; namely the_excerpt() and the_content()<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Allows the user to select text before and after the MORE tag using custom hooks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4166"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/loveless"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4166"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4166"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4166"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4166"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4166"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}