{"id":31284,"date":"2014-08-21T18:46:26","date_gmt":"2014-08-21T18:46:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bbspoiler\/"},"modified":"2025-05-19T09:37:27","modified_gmt":"2025-05-19T09:37:27","slug":"bbspoiler","status":"publish","type":"plugin","link":"https:\/\/mk.wordpress.org\/plugins\/bbspoiler\/","author":697330,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.02","stable_tag":"trunk","tested":"6.8.5","requires":"3.9","requires_php":"","requires_plugins":null,"header_name":"BBSpoiler","header_author":"Flector","header_description":"","assets_banners_color":"dae8ec","last_updated":"2025-05-19 09:37:27","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/goo.gl\/CcxWYg","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/bbspoiler\/","header_author_uri":"https:\/\/profiles.wordpress.org\/flector#content-plugins","rating":4.7,"author_block_rating":0,"active_installs":4000,"downloads":49237,"num_ratings":30,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.01":{"tag":"2.01","author":"Flector","date":"2018-12-08 02:21:57"},"2.02":{"tag":"2.02","author":"Flector","date":"2024-03-09 11:10:41"}},"upgrade_notice":[],"ratings":{"1":2,"2":0,"3":1,"4":0,"5":27},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1178432,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1178432,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1178432,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.01","2.02"],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":1988582,"resolution":"1","location":"assets","locale":""},"screenshot-2.gif":{"filename":"screenshot-2.gif","revision":1988582,"resolution":"2","location":"assets","locale":""},"screenshot-3.gif":{"filename":"screenshot-3.gif","revision":1988582,"resolution":"3","location":"assets","locale":""},"screenshot-4.gif":{"filename":"screenshot-4.gif","revision":1988582,"resolution":"4","location":"assets","locale":""},"screenshot-5.gif":{"filename":"screenshot-5.gif","revision":1988582,"resolution":"5","location":"assets","locale":""},"screenshot-6.gif":{"filename":"screenshot-6.gif","revision":1988582,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"\"Spoiler\" button and plugin dialog window.","2":"Sample spoiler.","3":"Sample spoiler with pictures.","4":"Second-level spoilers within a primary spoiler.","5":"Spoiler in bbPress topic.","6":"All color styles."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6861,11405,2124,2127,1244],"plugin_category":[43,44,59],"plugin_contributors":[80439],"plugin_business_model":[],"class_list":["post-31284","plugin","type-plugin","status-publish","hentry","plugin_tags-box","plugin_tags-boxes","plugin_tags-collapse","plugin_tags-expand","plugin_tags-hide","plugin_category-customization","plugin_category-discussion-and-community","plugin_category-utilities-and-tools","plugin_contributors-flector","plugin_committers-flector"],"banners":{"banner":"https:\/\/ps.w.org\/bbspoiler\/assets\/banner-772x250.png?rev=1178432","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/bbspoiler\/assets\/icon-128x128.png?rev=1178432","icon_2x":"https:\/\/ps.w.org\/bbspoiler\/assets\/icon-256x256.png?rev=1178432","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/bbspoiler\/assets\/screenshot-1.gif?rev=1988582","caption":"\"Spoiler\" button and plugin dialog window."},{"src":"https:\/\/ps.w.org\/bbspoiler\/assets\/screenshot-2.gif?rev=1988582","caption":"Sample spoiler."},{"src":"https:\/\/ps.w.org\/bbspoiler\/assets\/screenshot-3.gif?rev=1988582","caption":"Sample spoiler with pictures."},{"src":"https:\/\/ps.w.org\/bbspoiler\/assets\/screenshot-4.gif?rev=1988582","caption":"Second-level spoilers within a primary spoiler."},{"src":"https:\/\/ps.w.org\/bbspoiler\/assets\/screenshot-5.gif?rev=1988582","caption":"Spoiler in bbPress topic."},{"src":"https:\/\/ps.w.org\/bbspoiler\/assets\/screenshot-6.gif?rev=1988582","caption":"All color styles."}],"raw_content":"<!--section=description-->\n<p>You can use this plugin to hide part of the text of a post in a nicely-formatted container that will becomes unhidden when clicked on. The plugin can be useful for creating FAQ pages, hiding large pictures, and things like that.<\/p>\n\n<p>The plugin creates its own \"Spoiler\" button in the visual editor, but you can also add spoilers directly using tags. For example:<\/p>\n\n<pre><code>[spoiler title='Title']Spoiler content[\/spoiler]\n<\/code><\/pre>\n\n<p>or<\/p>\n\n<pre><code>[spoiler title='Title' collapse_link='no']Spoiler content[\/spoiler]\n<\/code><\/pre>\n\n<p>If you liked my plugin, please <strong>rate<\/strong> it.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <strong>bbspoiler<\/strong> folder to the <strong>\/wp-content\/plugins\/<\/strong> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>That's all.<\/li>\n<\/ol>\n\n<p>You can find the \"Spoiler\" plugin button in the visual editor.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20indent%20paragraphs%20in%20spoiler%20text%3F'><h3>How do I indent paragraphs in spoiler text?<\/h3><\/dt>\n<dd><p>This spoiler code gives you three paragraphs of text:<\/p>\n\n<pre><code>[spoiler title='Title' collapse_link='true']First Paragraph\n\nSecond Paragraph\n\nThird Paragraph[\/spoiler]\n<\/code><\/pre><\/dd>\n<dt id='can%20i%20use%20spoilers%20within%20spoilers%3F'><h3>Can I use spoilers within spoilers?<\/h3><\/dt>\n<dd><p>Yes, but only up to two levels. Use the number 2 in the shortcode. \nThe code should look like this:<\/p>\n\n<pre><code>[spoiler title='Parent']\n\n[spoiler2 title='Child 1']text[\/spoiler2]\n[spoiler2 title='Child 2']text[\/spoiler2]\n\n[\/spoiler]\n<\/code><\/pre><\/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\/bbspoiler\">translate.wordpress.org<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.02<\/h4>\n\n<ul>\n<li>js vulnerability fixed.<\/li>\n<\/ul>\n\n<h4>2.01<\/h4>\n\n<ul>\n<li>fixed \"ReferenceError\" bug.<\/li>\n<li>removed the bundled languages in favour of language packs from translate.wordpress.org<\/li>\n<\/ul>\n\n<h4>2.00<\/h4>\n\n<ul>\n<li>added 10 different color styles<\/li>\n<\/ul>\n\n<h4>1.01<\/h4>\n\n<ul>\n<li>added support for bbPress<\/li>\n<\/ul>\n\n<h4>1.00<\/h4>\n\n<ul>\n<li>first version<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to hide text under the tags [spoiler]your text[\/spoiler].","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31284"}],"author":[{"embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/flector"}],"wp:attachment":[{"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31284"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31284"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31284"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31284"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31284"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}