{"id":277682,"date":"2026-01-31T19:11:58","date_gmt":"2026-01-31T19:11:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/show-hide-accordion-by-mediaart\/"},"modified":"2026-01-31T19:20:41","modified_gmt":"2026-01-31T19:20:41","slug":"show-hide-accordion-by-mediaart","status":"publish","type":"plugin","link":"https:\/\/si.wordpress.org\/plugins\/show-hide-accordion-by-mediaart\/","author":23256736,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Show Hide Accordion by MediaArt","header_author":"MediaArt","header_description":"Collapse\/expand content via shortcodes. Keeps legacy bg_collapse shortcodes and adds ma_collapse.","assets_banners_color":"","last_updated":"2026-01-31 19:20:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":148,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mediaart","date":"2026-01-31 19:20:41"}},"upgrade_notice":{"1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3451157,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3451157,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3451157,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3451157,"resolution":"3","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1741,2124,2127,80,2133],"plugin_category":[43],"plugin_contributors":[242314],"plugin_business_model":[],"class_list":["post-277682","plugin","type-plugin","status-publish","hentry","plugin_tags-accordion","plugin_tags-collapse","plugin_tags-expand","plugin_tags-shortcode","plugin_tags-toggle","plugin_category-customization","plugin_contributors-mediaart","plugin_committers-mediaart"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/show-hide-accordion-by-mediaart\/assets\/icon-256x256.png?rev=3451157","icon_2x":"https:\/\/ps.w.org\/show-hide-accordion-by-mediaart\/assets\/icon-256x256.png?rev=3451157","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/show-hide-accordion-by-mediaart\/assets\/screenshot-1.png?rev=3451157","caption":""},{"src":"https:\/\/ps.w.org\/show-hide-accordion-by-mediaart\/assets\/screenshot-2.png?rev=3451157","caption":""},{"src":"https:\/\/ps.w.org\/show-hide-accordion-by-mediaart\/assets\/screenshot-3.png?rev=3451157","caption":""}],"raw_content":"<!--section=description-->\n<p>This plugin provides shortcodes to show\/hide content with an optional accordion behavior:<\/p>\n\n<ul>\n<li><strong>New shortcode:<\/strong> <code>[ma_collapse]...[\/ma_collapse]<\/code> (and <code>ma_collapse_level2..7<\/code>)<\/li>\n<li><strong>Legacy compatibility:<\/strong> Keeps legacy <code>bg_collapse*<\/code> shortcodes functional (where possible without breaking other installed plugins).<\/li>\n<\/ul>\n\n<p>The plugin is written to follow WordPress.org best practices:\n* No inline JavaScript in PHP templates\n* Admin actions protected by capability checks and nonces\n* Sanitization\/escaping on output\n* Translatable strings (EN as base; Czech translation included)<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Basic:\n    [ma_collapse]Hidden content[\/ma_collapse]<\/p>\n\n<p>With custom label:\n    [ma_collapse more=\"Show more\" less=\"Show less\"]Hidden content[\/ma_collapse]<\/p>\n\n<p>Accordion grouping:\nUse the same <code>group<\/code> attribute on multiple shortcodes.\n    [ma_collapse group=\"faq\"]Item 1[\/ma_collapse] [ma_collapse group=\"faq\"]Item 2[\/ma_collapse]<\/p>\n\n<p>Legacy:\n    [bg_collapse]Hidden content[\/bg_collapse]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install via the Plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Configure options under <strong>MA Tools \u2192 Show\/Hide Accordion<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20the%20original%20shortcodes%3F\"><h3>Does it work with the original shortcodes?<\/h3><\/dt>\n<dd><p>Yes, the plugin includes compatibility for legacy <code>bg_collapse*<\/code> shortcodes.<\/p><\/dd>\n<dt id=\"where%20are%20the%20settings%3F\"><h3>Where are the settings?<\/h3><\/dt>\n<dd><p>In the WordPress admin under <strong>MA Tools \u2192 Show\/Hide Accordion<\/strong>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial refactor release (MediaArt fork): new <code>ma_collapse<\/code> shortcode, legacy compatibility, settings page, translations.<\/li>\n<\/ul>","raw_excerpt":"Create collapse\/expand sections and accordions via shortcodes (ma_collapse + legacy bg_collapse).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/277682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=277682"}],"author":[{"embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mediaart"}],"wp:attachment":[{"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=277682"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=277682"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=277682"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=277682"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=277682"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/si.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=277682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}