{"id":138488,"date":"2021-03-28T10:13:05","date_gmt":"2021-03-28T10:13:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/showhide-shortcode\/"},"modified":"2025-01-03T11:21:36","modified_gmt":"2025-01-03T11:21:36","slug":"showhide-shortcode","status":"publish","type":"plugin","link":"https:\/\/os.wordpress.org\/plugins\/showhide-shortcode\/","author":18637427,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.7.5","requires":"5.7","requires_php":"7.3","requires_plugins":null,"header_name":"Show\/Hide Shortcode","header_author":"Lars Wallenborn","header_description":"Adds Shortcodes to Wordpress to Show\/Hide content via JavaScript","assets_banners_color":"","last_updated":"2025-01-03 11:21:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/larsborn\/show-hide-shortcode","header_author_uri":"https:\/\/www.wallenborn.net\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":3014,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"larsborn","date":"2021-03-28 10:25:35"},"1.0.1":{"tag":"1.0.1","author":"larsborn","date":"2025-01-03 11:21:36"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2504688,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Example view of the block editor."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1622,52662,2447,197838,28040],"plugin_category":[],"plugin_contributors":[197839],"plugin_business_model":[],"class_list":["post-138488","plugin","type-plugin","status-publish","hentry","plugin_tags-expander","plugin_tags-read-less","plugin_tags-read-more","plugin_tags-show-less","plugin_tags-show-more","plugin_contributors-larsborn","plugin_committers-larsborn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/showhide-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/showhide-shortcode\/assets\/screenshot-1.png?rev=2504688","caption":"Example view of the block editor."}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to easily add \"Show more...\" links to your site. Just enclose the content to be hidden between <code>[showhide]<\/code> and <code>[\/showhide]<\/code>. There is no modification to the backend or fancy editor. Hence the code for this plugin is minimal and the plugin should be easy to review for security issues as well not impact performance.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='where%20do%20i%20need%20to%20click%3F'><h3>Where do I need to click?<\/h3><\/dt>\n<dd><p>Use the block editor to add two blocks: <code>[showhide]<\/code> and <code>[\/showhide]<\/code>. Everything in between will be hidden and a link \"Show more...\" is displayed. When clicked, the hidden content is revealed.<\/p><\/dd>\n<dt id='can%20i%20change%20the%20default%20%22show%20more...%22%20text%3F'><h3>Can I change the default \"Show more...\" text?<\/h3><\/dt>\n<dd><p>Yes, the <code>[showhide]<\/code> shortcode accepts the argument <code>show_caption<\/code>:\n    <code>[showhide show_caption=\"Do you want to know more?\"]Your Content[\/showhide]```\nSimilarly, use the<\/code>hide_caption` attribute to change the \"Show less...\" default caption.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Updated \"Tested up to\" field to reflect current<\/li>\n<li>Addresses XSS vulnerability in <code>show_caption<\/code> and <code>hide_caption<\/code> arguments<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Small and efficient plugin implementing dynamic &quot;Show more...&quot; links. Just use the [showhide] shortcode, there is no addition to the backend.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/138488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=138488"}],"author":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/larsborn"}],"wp:attachment":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=138488"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=138488"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=138488"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=138488"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=138488"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=138488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}