{"id":52718,"date":"2016-12-11T23:34:51","date_gmt":"2016-12-11T23:34:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/text-snipper\/"},"modified":"2016-12-18T20:18:02","modified_gmt":"2016-12-18T20:18:02","slug":"text-snipper","status":"publish","type":"plugin","link":"https:\/\/ceb.wordpress.org\/plugins\/text-snipper\/","author":15000030,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"4.7.33","requires":"","requires_php":"","requires_plugins":"","header_name":"Text Snipper","header_author":"Jordan Carter","header_description":"","assets_banners_color":"f7f7f7","last_updated":"2016-12-18 20:18:02","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/jordanwebdev.com\/text-snipper","header_author_uri":"http:\/\/jordanwebdev.com","rating":3,"author_block_rating":0,"active_installs":40,"downloads":2452,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Launch!<\/p>"},"ratings":{"1":0,"2":0,"3":"1","4":0,"5":0},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1557108","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1557108","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Settings page with an HTML class entered.","2":"Truncation in action."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[127877,26722,57904,749,127876],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-52718","plugin","type-plugin","status-publish","hentry","plugin_tags-ellipses","plugin_tags-ellipsis","plugin_tags-snip","plugin_tags-text","plugin_tags-text-snipper"],"banners":{"banner":"https:\/\/ps.w.org\/text-snipper\/assets\/banner-772x250.jpg?rev=1557108","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/text-snipper\/assets\/icon-128x128.jpg?rev=1557108","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows you to specify in the settings page a CSS class, and then looks for any elements that contain it and trims the text down so that it does not overflow its container's height. This is for vertical trimming of multi-line text, and also works if the element has direct children.<\/p>\n\n<h4>HOW TO USE<\/h4>\n\n<p>Once you install and activate the plugin, there will be a new tab for it under the \"settings\" admin menu. Go to this page, and enter the name of the CSS class you are using in your HTML to specifiy which elements should be truncated. Click save, and that's it!<\/p>\n\n<h3>License<\/h3>\n\n<pre><code>Copyright 2016 Jordan Carter\n\nThis 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 3 of the License, or\n(at your option) any later version.\n\nThis 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.\n\nYou 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\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Download from plugins repository<\/li>\n<li>Activate plugin<\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li>What if my HTML class has children?<\/li>\n<\/ul>\n\n<p>Currently, the plugin handles direct children, as well as elements with no children. Just provide the HTML class of the parent element, and the plugin will do the rest!<\/p>\n\n<!--section=changelog-->\n<p>1.0 - 18\/Dec\/2016<\/p>\n\n<ul>\n<li>Fixed issues with handling direct children of the element with the specified HTML class.<\/li>\n<\/ul>","raw_excerpt":"An easy to use text truncator that trims down multi-line overflowing text and adds an ellipses(&quot;...&quot;) to it.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/52718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=52718"}],"author":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jordanwebdev"}],"wp:attachment":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=52718"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=52718"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=52718"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=52718"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=52718"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=52718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}