{"id":36675,"date":"2015-06-02T13:00:42","date_gmt":"2015-06-02T13:00:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/truncate-comments\/"},"modified":"2025-05-19T09:41:07","modified_gmt":"2025-05-19T09:41:07","slug":"truncate-comments","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/truncate-comments\/","author":697330,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.00","stable_tag":"trunk","tested":"6.8.5","requires":"3.0","requires_php":"5.3","requires_plugins":null,"header_name":"Truncate Comments","header_author":"Flector","header_description":"","assets_banners_color":"ffffff","last_updated":"2025-05-19 09:41:07","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/flector","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/truncate-comments\/","header_author_uri":"https:\/\/profiles.wordpress.org\/flector#content-plugins","rating":4.8,"author_block_rating":0,"active_installs":90,"downloads":4469,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.04":{"tag":"1.04","author":"Flector","date":"2018-12-08 02:31:15"},"2.00":{"tag":"2.00","author":"Flector","date":"2019-02-22 02:38:23"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":5},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2035703,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2035703,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2035700,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.04","2.00"],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":1988596,"resolution":"1","location":"assets","locale":""},"screenshot-2.gif":{"filename":"screenshot-2.gif","revision":1988596,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"The plugin settings page.","2":"Example of a hidden comment."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[209,2124,131,107,5237],"plugin_category":[44,45,59],"plugin_contributors":[80439],"plugin_business_model":[],"class_list":["post-36675","plugin","type-plugin","status-publish","hentry","plugin_tags-amazon","plugin_tags-collapse","plugin_tags-comment","plugin_tags-comments","plugin_tags-hide-content","plugin_category-discussion-and-community","plugin_category-ecommerce","plugin_category-utilities-and-tools","plugin_contributors-flector","plugin_committers-flector"],"banners":{"banner":"https:\/\/ps.w.org\/truncate-comments\/assets\/banner-772x250.png?rev=2035700","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/truncate-comments\/assets\/icon-128x128.png?rev=2035703","icon_2x":"https:\/\/ps.w.org\/truncate-comments\/assets\/icon-256x256.png?rev=2035703","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/truncate-comments\/assets\/screenshot-1.gif?rev=1988596","caption":"The plugin settings page."},{"src":"https:\/\/ps.w.org\/truncate-comments\/assets\/screenshot-2.gif?rev=1988596","caption":"Example of a hidden comment."}],"raw_content":"<!--section=description-->\n<p>Truncate Comments is a plugin that hides a part of a long comment under a \"<strong>Read more<\/strong>\" link that, when clicked, reveals the hidden part of the comment. The plugin provides the functionality of Amazon.com comments.<\/p>\n\n<p>If you liked my plugin, please <strong>rate<\/strong> it.<\/p>\n\n<p>The plugin uses <a href=\"http:\/\/www.aakashweb.com\/jquery-plugins\/collapser\/\">jQuery Collapser<\/a> by Aakash Chakravarthy.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='installation%20instructions'><h3>Installation Instructions<\/h3><\/dt>\n<dd><ol>\n<li>Visit &#171;<strong>Plugins\\Add New<\/strong>&#187;.<\/li>\n<li>Search for &#171;<strong>Truncate Comments<\/strong>&#187;.<\/li>\n<li>Install and activate the plugin.<\/li>\n<li>That's all.<\/li>\n<\/ol>\n\n<p>Plugin settings are available in &#171;<strong>Settings\\Truncate Comments<\/strong>&#187;.<\/p><\/dd>\n<dt id='how%20to%20style%20a%20%22read%20more%22%20link%20using%20css%3F'><h3>How to style a \"Read more\" link using CSS?<\/h3><\/dt>\n<dd><p>Add the following code to the <strong>style.css<\/strong> file of your theme.<\/p>\n\n<pre><code>.commentMoreLink {\n   color:red!important;\n}\n<\/code><\/pre>\n\n<p>The link will become red (just an example).<\/p><\/dd>\n<dt id='does%20the%20plugin%20support%20localization%3F'><h3>Does the plugin support localization?<\/h3><\/dt>\n<dd><p>Yes, please use <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/truncate-comments\">translate.wordpress.org<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.00<\/h4>\n\n<ul>\n<li>minor bug fixes<\/li>\n<li>added \"Hide\" button.<\/li>\n<\/ul>\n\n<h4>1.04<\/h4>\n\n<ul>\n<li>minor bug fixes<\/li>\n<\/ul>\n\n<h4>1.03<\/h4>\n\n<ul>\n<li>removed PHP notices.<\/li>\n<\/ul>\n\n<h4>1.02<\/h4>\n\n<ul>\n<li>removed the bundled languages in favour of language packs from translate.wordpress.org.<\/li>\n<\/ul>\n\n<h4>1.01<\/h4>\n\n<ul>\n<li>added German translation (thanks to <a href=\"https:\/\/wordpress.org\/support\/profile\/ezkay\">ezkay<\/a>).<\/li>\n<\/ul>\n\n<h4>1.00<\/h4>\n\n<ul>\n<li>first public version.<\/li>\n<\/ul>","raw_excerpt":"The plugin uses Javascript to hide long comments (Amazon-style comments).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/36675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=36675"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/flector"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=36675"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=36675"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=36675"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=36675"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=36675"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=36675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}