{"id":115239,"date":"2019-12-22T23:20:06","date_gmt":"2019-12-22T23:20:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/javascript-css-accordion\/"},"modified":"2021-11-03T13:21:07","modified_gmt":"2021-11-03T13:21:07","slug":"javascript-css-accordion","status":"publish","type":"plugin","link":"https:\/\/hu.wordpress.org\/plugins\/javascript-css-accordion\/","author":15044740,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.0.06","stable_tag":"trunk","tested":"5.8.13","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Javascript CSS Accordion","header_author":"Neil Ludlow","header_description":"This WordPress plugin allows the user to create an accordion on their website that uses plain javascript, not jQuery.","assets_banners_color":"","last_updated":"2021-11-03 13:21:07","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.shortdark.net\/","header_plugin_uri":"http:\/\/www.shortdark.net\/wordpress-plugin\/javascript-css-accordion\/","header_author_uri":"http:\/\/www.shortdark.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1718,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.0.05":{"tag":"0.0.05","author":"shortdark","date":"2021-11-03 13:16:47"},"0.0.06":{"tag":"0.0.06","author":"shortdark","date":"2021-11-03 13:24:23"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.05","0.0.06"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1741,246],"plugin_category":[43],"plugin_contributors":[96952],"plugin_business_model":[],"class_list":["post-115239","plugin","type-plugin","status-publish","hentry","plugin_tags-accordion","plugin_tags-html","plugin_category-customization","plugin_contributors-shortdark","plugin_committers-shortdark"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/javascript-css-accordion.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds an accordion using plaing javascript and CSS, not jQuery.<\/p>\n\n<p>Please let me know if you like this plugin by leaving a review or <a href=\"http:\/\/www.shortdark.net\/contact-me\/\">contacting me<\/a>.<\/p>\n\n<p>Go to the <a href=\"http:\/\/www.shortdark.net\/wordpress-plugin\/\">Shortdark Wordpress plugin page<\/a> for more information.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the WordPress\nplugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<\/ol>\n\n<p>To add an accordion element you insert the shortcode below into your post in the place you'd like the accordion to be.<\/p>\n\n<h4>Method 1<\/h4>\n\n<p>[sdjca id=\"\" title=\"\"]The content to be revealed goes here!![\/sdjca]<\/p>\n\n<ul>\n<li>The id should be a number (an integer). If you have more than one accordion on a page, each accordion must have a unique id.<\/li>\n<li>The title is the text you'd see when the accordion is closed, without any HTML.<\/li>\n<li>The content is what you see when you open the accordion, this can include HTML tags. Do not use \"p\" tags, use \"br\" instead.<\/li>\n<\/ul>\n\n<h4>Method 2<\/h4>\n\n<p>You can also use unenclosed shortcodes like this...<\/p>\n\n<p>[sdjca id=\"\" title=\"\" content=\"\" \/]<\/p>\n\n<ul>\n<li>The id should be a number (an integer). If you have more than one accordion on a page, each accordion must have a unique id.<\/li>\n<li>The title is the text you'd see when the accordion is closed, without any HTML.<\/li>\n<li>The content is what you see when you open the accordion, without any HTML.<\/li>\n<li>The shortcode should have the trailing \/ at the end, especially if you are using more than one accordion in your post\/page.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>0.0.06<\/h4>\n\n<ul>\n<li>Bugfix: tweak to the javascript.<\/li>\n<\/ul>\n\n<h4>0.0.05<\/h4>\n\n<ul>\n<li>Bugfix: version number.<\/li>\n<\/ul>\n\n<h4>0.0.04<\/h4>\n\n<ul>\n<li>Bugfix: only show enclosed content if the content attribute does not exist.<\/li>\n<li>Update: update to the installation instructions.<\/li>\n<\/ul>\n\n<h4>0.0.03<\/h4>\n\n<ul>\n<li>Bugfix to allow the first version of the plugin to continue working.<\/li>\n<\/ul>\n\n<h4>0.0.02<\/h4>\n\n<ul>\n<li>Allowed content to be added using enclosed shortcodes.<\/li>\n<\/ul>\n\n<h4>0.0.01<\/h4>\n\n<ul>\n<li>New plugin.<\/li>\n<\/ul>","raw_excerpt":"Adds an accordion using plain javascript and CSS, not jQuery. Tested on PHP 5 through PHP 8.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/115239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=115239"}],"author":[{"embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shortdark"}],"wp:attachment":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=115239"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=115239"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=115239"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=115239"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=115239"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=115239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}