{"id":5799,"date":"2009-06-07T14:00:22","date_gmt":"2009-06-07T14:00:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/get-better-excerpt\/"},"modified":"2016-04-06T23:48:22","modified_gmt":"2016-04-06T23:48:22","slug":"get-better-excerpt","status":"publish","type":"plugin","link":"https:\/\/ml.wordpress.org\/plugins\/get-better-excerpt\/","author":12735231,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"trunk","tested":"4.1.0","requires":"3.2.0","requires_php":"","requires_plugins":"","header_name":"Get Better Excerpt","header_author":"Christopher Ross","header_description":"","assets_banners_color":"eff0f7","last_updated":"2016-04-06 23:48:22","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/thisismyurl.com\/","header_plugin_uri":"http:\/\/thisismyurl.com\/plugins\/get-better-excerpt\/","header_author_uri":"http:\/\/thisismyurl.com\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":7140,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1053571","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1053571","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.5.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1395,86,166,1141,4046],"plugin_category":[],"plugin_contributors":[81592],"plugin_business_model":[],"class_list":["post-5799","plugin","type-plugin","status-publish","hentry","plugin_tags-excerpt","plugin_tags-post","plugin_tags-posts","plugin_tags-theme","plugin_tags-words","plugin_contributors-christopherross","plugin_committers-jamieschmid"],"banners":{"banner":"https:\/\/ps.w.org\/get-better-excerpt\/assets\/banner-772x250.png?rev=1053571","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/get-better-excerpt\/assets\/icon-128x128.png?rev=1053571","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>** this plugin is no longer being update. Please feel free to adopt me! **<\/p>\n\n<p>The Get Better Excerpt plugin works almost identical to the built in get_the_excerpt() and the_excerpt() functions except it returns whole words instead of cutting off the excerpt as the existing function does.<\/p>\n\n<p>This plugin is maintained by Christopher Ross, http:\/\/thisismyurl.com or you can find him on Twitter at http:\/\/twitter.com\/thisismyurl\/<\/p>\n\n<h3>Updates<\/h3>\n\n<p>Updates to the plugin will be posted here, to <a href=\"http:\/\/thisismyurl.com\/downloads\/get-better-excerpt\/\">thisismyurl.com<\/a><\/p>\n\n<h3>Donations<\/h3>\n\n<p>If you would like to donate to help support future development of this tool, please visit <a href=\"http:\/\/thisismyurl.com\/downloads\/get-better-excerpt\/\">thisismyurl.com<\/a><\/p>\n\n<!--section=installation-->\n<p>To install the plugin, please upload the folder to your plugins folder and active the plugin.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How do I display the results?<\/dt>\n<dd><p>Insert the following code into your WordPress theme files:<\/p><\/dd>\n<dt>General results<\/dt>\n<dd><p>Without passing any parameters, the plugin will return ten results or fewer depending on how many posts you have.<\/p>\n\n<p>thisismyurl_get_better_excerpt();<\/p><\/dd>\n<dt>Altering the before and after values<\/dt>\n<dd><p>By default the plugin wraps your code in list item (&lt;li&gt;) tags but you can specify how to format the results using the following code:<\/p>\n\n<p>thisismyurl_get_better_excerpt('before=&lt;p&gt;&amp;after=&lt;\/p&gt;');<\/p><\/dd>\n<dt>Adding a Link<\/dt>\n<dd><p>If you'd like to link to the post (remember it's not live yet) you can do so by calling:<\/p>\n\n<p>thisismyurl_get_better_excerpt('link=true');<\/p><\/dd>\n<dt>How many words?<\/dt>\n<dd><p>You can specify the number of words returned using the option:<\/p>\n\n<p>thisismyurl_get_better_excerpt('words=20');<\/p><\/dd>\n<dt>Skip the excerpt?<\/dt>\n<dd><p>If you would like to load the content directly, skipping the entered excerpt:<\/p>\n\n<p>thisismyurl_get_better_excerpt('skipexcerpt=true');<\/p><\/dd>\n<dt>Include a trailing character?<\/dt>\n<dd><p>By default the plugin includes a ... after the excerpt, you can remove it or change it by altering:<\/p>\n\n<p>thisismyurl_get_better_excerpt('trail= ...');<\/p><\/dd>\n<dt>Return a whole sentence<\/dt>\n<dd><p>If you would like to return whole sentences rather than words, you can control the number of sentences to return:<\/p>\n\n<p>thisismyurl_get_better_excerpt('sentence=1');<\/p><\/dd>\n<dt>Echo vs. Return<\/dt>\n<dd><p>Finally, if you'd like to copy the results into a variable you can return the results as follows:<\/p>\n\n<p>thisismyurl_get_better_excerpt('show=false');<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>uses wp_trim_words()<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Tested for WordPress 3.2<\/li>\n<li>Optimized code<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>removed update functions<\/li>\n<\/ul>\n\n<p>1.0.0 -\nOfficial Release\nAdded Sentence options<\/p>","raw_excerpt":"The Get Better Excerpt plugin works almost identical to the built in get_the_excerpt() and the_excerpt() functions except it returns whole words inste &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5799"}],"author":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jamieschmid"}],"wp:attachment":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5799"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5799"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5799"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5799"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5799"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}