Спасибо за прекрасный плагин.
Would it be possible to allow an additional box spoiler title, to be shown when the spoiler is open?
– first title is shown when the spoiler is closed
– a different title to be shown when the spoiler is open (either empty or with a text about “close”…)
Hi,
I use this excellent plugin for a FAQ page with a lot of questions. Now i want to print this page, with every spoiler open. Is there a way to open every spoiler or alternatively some way to get the spoiler content on the print page (i use normal print function as well as Print-o-matic plugin. https://pluginoven.com/plugins/print-o-matic/documentation/shortcode/
Best Regards,
Andreas
Hello,
On the linked page, I use OtFm Spoiler to hide an show pdf documents. This is working well but when I click on the “Full page” button of the pdf viewer (I use PDFEmbedder plugin), the spoiler titles override the pdf display. This can be demonstrated in the first spoiler of the page.
Thanks for your support.
]]>Hi. ogs_admin_inline_style() can return null, which will then be passed to wp_add_inline_style(). This is not good, because then null gets into the stripos function and trigger message:
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in \wp-includes\functions.wp-styles.php on line 90
It also prints an empty style tag in the pages html. To avoid this, you need to add a check in two plugin functions. Here is the corrected part of plugin code:
function ogs_add_admin_inline_style() {
$style = ogs_admin_inline_style();
if (!is_null($style)) {
wp_add_inline_style( 'ogs_style', $style ); // admin inline
}
}
// add style inline frontend
add_action( 'wp_head', 'ogs_add_frontend_inline_style' );
function ogs_add_frontend_inline_style() {
$style = ogs_admin_inline_style();
if (!is_null($style)) {
echo "<style>" . $style . "</style>\r\n";
}
}
]]>
Hello,
Is this plugin compatible with WP 5.9.2 ?
Thanks for your easy to use and great plugin.
Hi,
i want to create a spoiler within a spoiler. However if i build a structure like
Start Box Spoiler A
Start Box Spoiler B
End Box Spoiler B
End Box Spoiler A
Both Spoilers will open as soon as i open Spoiler A and i cant close Spoiler B seperately.
How can i fix that?
Best regards,
Andreas
Hi.
How can I change background color of “+” and “-” icon (screenshot showing what I mean: https://i.imgur.com/uDsKR3C.jpg) ? I tried to edit the following CSS and background-color property but it just changes the color of an icon, not its actual background:
.otfm-sp__title::after, .otfm-sp__title::before {
background-color: #777;
}
Best,
Kacper
Подскажите какие псевдоселекторы добавить в .otfm-sp__title::before и after чтобы вместо “+” в свёрнутом и “-” в развёрнутом варианте заголовка задать свои символы или графические пиктограммы?
]]>Hello, i need to disable remove “Enter” key and “Space bar” pressed function because I have a form to compile into the spoiler.
There is a way?
We are looking for people to help translate this plugin. If you can help we would love for you to jump in and do so.
Help us & the WordPress community, translate the plugin at
https://translate.www.ads-software.com/projects/wp-plugins/otfm-gutenberg-spoiler/
Thanks for this great plugin !
Do you plan the compatibility to WordPress 5.6 ?
Hi. If some posts with spoiler buttons are loaded via AJAX, then the spoiler button is not working. Do you know if this can be fixed?
For example, open this page and filter or switch to the next page:
https://www.puzzleprime.com/test-page/
Best, A
Hi,
Please have a look at this link. You have specified a Stable Tag, but the folder does not exist under the /Tags folder.
Also your Text Domain seems incorrect, so this might give issues with translations.
I have no idea whether or not this is possible but one thing I would SERIOUSLY love if one could collpase the spoiler blocks in editing too as it gets a bit tedious when editing something VERY long after a while.
]]>Hi! I was thinking that if you rename your plugin to something containing the word “accordion”, it will become much more popular. Also, if you can add the actual accordion feature, i.e. having more than one spoiler buttons and let only one be open at a time, it will be great.
]]>Wouldnt it be slightly easier to use if the “big” spoiler Block instead of being a start and an end, would instead be similar to a group block, just being able to contain multiple Blocks?
Ideally the Spoiler Title for example could contain a Heading block or whatever to make it look nicer and being better for making long things more compact
]]>Hi, I noticed the plugin is no longer updated. Are you still supporting it at least in terms of security?
Best
Hello,
it is possible to add a new feature to the plugin.
It will be impossible if you can insert a custom background color for the spoiler.
Can someone help, to insert it my self in the code of the plugin? Im more familial with C and C++ … so i try to learn php and mysql
to Otshelnik-Fm i love the functions! It suits perfectly my workflow ??
]]>After updating the plugin, I found that all the spoilers are not functioning, all contents inside exposed directly.
<script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>
I found the old version of the plugin from my website backup and I restored it, and it was working as expected:
<script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>
This is very likely that a bug occurred in your plugin.
Hi mate. After the last update, all of the content between the spoiler start and spoiler end is not displayed, and there is no button to press. The spoiler title just appears as text and it is unclickable.
]]>Hi,
Your plugin is amazing! I just missed an important functionality for acessibility: navigation by tab.
You said that the content is not hidden, search mecanism can find him, so probably srcreen readers too – but there’s no way for someone that sees but can’t use a mouse to navigate.
Thanks ??
]]>Hi mate, after the latest Gutenberg updates I started getting Error 500 with the spoiler plugin turned on. Can you take a look at that?
Наздаровя!
Hello!
Is the plugin SEO friendly? ??
]]>Hi! After WP 5.0, the plugin broke my website. I have disabled the plugin for now.
Best
Hi! The plugin is not compatible with the newest version of Gutenberg :/
]]>Hi. If I use the plugin on mobile devices, the content between the spoiler blocks gets shifted a bit to the right without proper rescaling, so part of it gets cut off. Would you check this, please?
]]>