{"id":5275,"date":"2020-06-22T18:51:00","date_gmt":"2020-06-22T18:51:00","guid":{"rendered":"https:\/\/azoora.com\/blog\/?p=5275"},"modified":"2020-08-23T18:56:11","modified_gmt":"2020-08-23T18:56:11","slug":"show-more-long-content-truncation-with-show-more-less-links","status":"publish","type":"post","link":"https:\/\/azoora.com\/blog\/code\/show-more-long-content-truncation-with-show-more-less-links\/","title":{"rendered":"show-more: Long Content Truncation With Show More\/Less Links"},"content":{"rendered":"\n<h2>Description:<\/h2>\n\n\n\n<p>show-more is a feature-rich JavaScript library that truncates long contents and replaces the overflowing content with show more and show less links.<\/p>\n\n\n\n<h2>Features:<\/h2>\n\n\n\n<ul><li>Truncates text to a specified number of characters.<\/li><li>Truncates an HTML list to a specified number of list items.<\/li><li>Truncates an HTML table to a specified number of records (rows).<\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>Author<\/strong>: tomik23<\/p><p><strong>Plugin Page<\/strong>: <a href=\"https:\/\/github.com\/tomik23\/show-more\">GitHub<\/a><\/p><p><strong>Demo<\/strong>: <a href=\"https:\/\/tomik23.github.io\/show-more\/\">Link<\/a><\/p><p><strong>Download<\/strong>: <a href=\"https:\/\/github.com\/tomik23\/show-more\/archive\/master.zip\">Link<\/a><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Description: show-more is a feature-rich JavaScript library that truncates long contents and replaces the overflowing content with show more and show less links. Features: Truncates text to a specified number of characters. Truncates an HTML list to a specified number of list items. Truncates an HTML table to a specified number of records (rows). Author: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5276,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[4,145,12],"tags":[25,146,87,217],"jetpack_featured_media_url":"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2020\/08\/show-more.png","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p7FQPL-1n5","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/5275"}],"collection":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/comments?post=5275"}],"version-history":[{"count":1,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/5275\/revisions"}],"predecessor-version":[{"id":5277,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/5275\/revisions\/5277"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media\/5276"}],"wp:attachment":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media?parent=5275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/categories?post=5275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/tags?post=5275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}