{"id":91194,"date":"2018-09-12T17:06:52","date_gmt":"2018-09-12T17:06:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/otfm-gutenberg-spoiler\/"},"modified":"2023-01-15T17:25:42","modified_gmt":"2023-01-15T17:25:42","slug":"otfm-gutenberg-spoiler","status":"publish","type":"plugin","link":"https:\/\/pap-aw.wordpress.org\/plugins\/otfm-gutenberg-spoiler\/","author":7498322,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.4","stable_tag":"trunk","tested":"6.1.10","requires":"6.1.0","requires_php":"8.0","requires_plugins":"","header_name":"OtFm Gutenberg Spoiler","header_author":"Otshelnik-Fm (Wladimir Druzhaev)","header_description":"Gutenberg Spoiler for WordPress","assets_banners_color":"a0ab91","last_updated":"2023-01-15 17:25:42","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/money.yandex.ru\/to\/41001526199072","header_plugin_uri":"","header_author_uri":"https:\/\/otshelnik-fm.ru\/","rating":5,"author_block_rating":0,"active_installs":700,"downloads":9948,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.5.0":{"tag":"1.5.0","author":"Otshelnik-Fm","date":"2020-08-16 08:37:00"},"1.5.1":{"tag":"1.5.1","author":"Otshelnik-Fm","date":"2020-08-16 15:57:15"},"1.5.2":{"tag":"1.5.2","author":"Otshelnik-Fm","date":"2021-07-18 16:41:19"},"1.5.3":{"tag":"1.5.3","author":"Otshelnik-Fm","date":"2021-07-18 16:41:19"}},"upgrade_notice":{"":"<p>Update through the automatic WordPress updater<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":5},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":1940153,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1940153,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1940153,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"otfm\/box-spoiler-start":{"name":"otfm\/box-spoiler-start","title":"Box Spoiler Start"},"otfm\/box-spoiler-end":{"name":"otfm\/box-spoiler-end","title":"Box Spoiler End"},"otfm\/little-spoiler":{"name":"otfm\/little-spoiler","title":"Little Spoiler"}},"tagged_versions":["1.5.0","1.5.1","1.5.2","1.5.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1940153,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1940153,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1940153,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1940153,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":1940153,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Find &amp; add spoiler blocks","2":"Little spoiler","3":"Box spoiler","4":"In frontend","5":"Open spoiler"},"jetpack_post_was_ever_published":false},"plugin_section":[163309],"plugin_tags":[4121,2101,148076,152129,5048],"plugin_category":[43],"plugin_contributors":[161762],"plugin_business_model":[],"class_list":["post-91194","plugin","type-plugin","status-publish","hentry","plugin_section-blocks","plugin_tags-blocks","plugin_tags-frequently-asked-questions","plugin_tags-gutenberg","plugin_tags-gutenberg-blocks","plugin_tags-spoiler","plugin_category-customization","plugin_contributors-otshelnik-fm","plugin_committers-otshelnik-fm","plugin_support_reps-otshelnik-fm"],"banners":{"banner":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/banner-772x250.png?rev=1940153","banner_2x":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/banner-1544x500.png?rev=1940153","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/icon-256x256.png?rev=1940153","icon_2x":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/icon-256x256.png?rev=1940153","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/screenshot-1.png?rev=1940153","caption":"Find &amp; add spoiler blocks"},{"src":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/screenshot-2.png?rev=1940153","caption":"Little spoiler"},{"src":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/screenshot-3.png?rev=1940153","caption":"Box spoiler"},{"src":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/screenshot-4.png?rev=1940153","caption":"In frontend"},{"src":"https:\/\/ps.w.org\/otfm-gutenberg-spoiler\/assets\/screenshot-5.png?rev=1940153","caption":"Open spoiler"}],"raw_content":"<!--section=description-->\n<p>WordPress 5.0 introduces a block-based editor (codename \"Gutenberg\") that offers a streamlined editing experience.\nThe plugin provides in the block editor 2 types of spoilers:<\/p>\n\n<ul>\n<li>Little Spoiler<\/li>\n<li>Box spoiler<\/li>\n<\/ul>\n\n<p>Little Spoiler - small spoiler for plain text.<\/p>\n\n<p>Box spoiler - consists of 2 blocks:\nOpening spoiler (Box Spoiler Start) and closing spoiler (Box Spoiler End)\nBetween them, you insert any block (or several block's) with content that you want to hide.<\/p>\n\n<p>In the frontend, the spoiler (accordion) opens with animation.\nIn the editor you can choose the color design of the spoiler.<\/p>\n\n<p>Ability to add new colors or replace a set of colors. See FAQ<\/p>\n\n<p>Want to hide part of the publication? or make up the FAQ? - plugin is perfect for this<\/p>\n\n<p>Check out all beauty and power of the plugin by watching this video:\n[youtube https:\/\/www.youtube.com\/watch?v=IrC1yVttMho]<\/p>\n\n<h3>Requirements<\/h3>\n\n<p>PHP 7.4, 8.0+ recommended for better performance, WordPress 6.1<\/p>\n\n<h4>Translation<\/h4>\n\n<p>Available in English, Russian, Ukrainian, Spanish, German, Swedish, Dutch, Japanese, French, Italian, Norwegian, Portuguese, Chinese and more other languages in becoming.<\/p>\n\n<h4>Acknowledgements<\/h4>\n\n<p>Thanks to <a href=\"https:\/\/profiles.wordpress.org\/nilovelez\/\">Nilo Velez<\/a> for Spanish (Spain) translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/yordansoares\/\">Yordan Soares<\/a> for Spanish (Venezuela) translation.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/tobifjellner\/\">Tor-Bjorn Fjellner<\/a> for Swedish translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/psmits1567\/\">Peter Smits<\/a> for Dutch translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/miccweb\/\">miccweb<\/a> for Japanese translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/fxbenard\/\">FX B\u00e9nard<\/a> for French (France) translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/darkavenger\/\">Luisa Ravelli<\/a> and <a href=\"https:\/\/profiles.wordpress.org\/aliceorru\/\">aliceorru<\/a> for Italian translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/meinmycell\/\">Eivind<\/a> for Norwegian (Nynorsk) translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/pedromendonca\/\">Pedro Mendon\u00e7a<\/a> for Portuguese (Portugal) translation approval.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/sergeykovalets\/\">Sergey Kovalets<\/a> for Ukrainian translation.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/jensratzel\/\">Jens Ratzel<\/a> for German translation.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/alexclassroom\/\">Alex Lion<\/a> for Chinese (Taiwan) translation.\nThanks to <a href=\"https:\/\/profiles.wordpress.org\/nekojonez\/\">Pieterjan Deneys<\/a> for Dutch (Belgium) translation.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>otfm-gutenberg-spoiler<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory or alternatively upload the otfm-gutenberg-spoiler.zip file via the plugin page of WordPress by clicking 'Add New' and selecting the zip from your computer.<\/li>\n<li>Activate the OtFm Gutenberg Spoiler WordPress plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use OtFm Gutenberg Spoiler blocks on your next page or post.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='accessibility%20support%3F%20navigation%20by%20tab%3F'><h3>Accessibility support? Navigation by tab?<\/h3><\/dt>\n<dd><p>Yes!\nNavigation by \"Tab\" button: \nThe \"Up arrow\" key pressed - If the focused spoiler is open, you close it \nThe \"Down arrow\" key pressed - If the focused spoiler is closed, you open it \nEither the \"Enter\" key or \"Space bar\" pressed - You toggle the focused spoiler. If it is open, close it; if it is closed, open it.\nThe \"End\" key pressed - You move focus to the last spoiler on the page \nThe \"Home\" key pressed - You move focus to the first spoiler on the page<\/p>\n\n<p>Support screen readers<\/p><\/dd>\n<dt id='how%20can%20i%20close%20a%20lot%20of%20blocks%3F'><h3>How can I close a lot of blocks?<\/h3><\/dt>\n<dd><ol>\n<li>find \"Box Spoiler Start\" and paste (spoiler open)<\/li>\n<li>blocks, blocks, blocks...<\/li>\n<li>find \"Box Spoiler End\" and paste (this spoiler closed)<\/li>\n<\/ol><\/dd>\n<dt id='how%20can%20i%20add%20my%20own%20color%3F'><h3>How can I add my own color?<\/h3><\/dt>\n<dd><p>Add this snippet to your file functions.php:<\/p>\n\n<pre><code>\/\/ add new colors to spoiler\nfunction otfmgs_add_new_colors($colors){\n    $colors[]= array( 'color' =&gt; '#bd4747', 'name' =&gt; 'my_brown' );\n    $colors[]= array( 'color' =&gt; '#32dd94', 'name' =&gt; 'my_green' );\n    \/\/... etc\n\n    return $colors;\n}\nadd_filter('otfmgs_colors','otfmgs_add_new_colors');\n<\/code><\/pre>\n\n<p>where: #bd4747 - new hex color<\/p>\n\n<p>result: https:\/\/yadi.sk\/i\/223x_1-S3e_H1w<\/p>\n\n<p>(available from plugin version 1.4.0)<\/p><\/dd>\n<dt id='how%20to%20replace%20colors%20with%20your%20own%20set%3F'><h3>How to replace colors with your own set?<\/h3><\/dt>\n<dd><p>Add this snippet to your file functions.php:<\/p>\n\n<pre><code>\/\/ add my color palette to spoiler\nfunction otfmgs_add_my_color_pallete($colors){\n    $colors['new'][]= array( 'color' =&gt; '#bd4747', 'name' =&gt; 'my_brown' );\n    $colors['new'][]= array( 'color' =&gt; '#32dd94', 'name' =&gt; 'my_green' );\n    \/\/... etc\n\n    return $colors;\n}\nadd_filter('otfmgs_colors','otfmgs_add_my_color_pallete');\n<\/code><\/pre>\n\n<p>where: #bd4747 - new hex color<\/p>\n\n<p>result: https:\/\/yadi.sk\/i\/Fv7BaxRLkjj_SA<\/p>\n\n<p>(available from plugin version 1.4.0)<\/p><\/dd>\n<dt id='what%20wordpress%20themes%20work%20with%20otfm%20gutenberg%20spoiler%3F'><h3>What WordPress themes work with OtFm Gutenberg Spoiler?<\/h3><\/dt>\n<dd><p>Any properly developed WordPress theme will work with OtFm Gutenberg Spoiler<\/p><\/dd>\n<dt id='how%20do%20i%20find%20the%20spoiler%20block%3F'><h3>How do I find the spoiler block?<\/h3><\/dt>\n<dd><ol>\n<li>Go to the block editor (add new post)<\/li>\n<li>Click \"insert block\"<\/li>\n<li>Search for a block \"spoiler\" or \"otfm\" or \"faq\"<\/li>\n<\/ol><\/dd>\n<dt id='is%20otfm%20gutenberg%20spoiler%20free%3F'><h3>Is OtFm Gutenberg Spoiler free?<\/h3><\/dt>\n<dd><p>Yes! OtFm Gutenberg Spoiler core features are absolutely free.<\/p><\/dd>\n<dt id='where%20can%20i%20ask%20for%20help%3F'><h3>Where can I ask for help?<\/h3><\/dt>\n<dd><p>Write me Otshelnik-Fm@yandex.ru<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><a href=\"https:\/\/github.com\/Otshelnik-Fm\/otfm-gutenberg-spoiler#changelog\">Full Changelog<\/a><\/p>","raw_excerpt":"The plugin provides in the block editor 2 types of spoilers. Need FAQ or Spoiler?","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/91194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=91194"}],"author":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/otshelnik-fm"}],"wp:attachment":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=91194"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=91194"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=91194"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=91194"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=91194"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=91194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}