开发者 | philbuchanan |
---|---|
更新时间 | 2022年2月8日 03:33 |
PHP版本: | 7.3 及以上 |
WordPress版本: | 5.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wp.blocks.registerBlockStyle
.<button>
tag /
.c-accordion__title:hover {} / To modify the style when hovering over an accordion item title /
.c-accordion__title:focus {} / To modify the style when an accordion item title currently has broswer focus /
.c-accordion__content {} / An accordion item content container /
No. It is not possible to change all your accordion item's settings (within the same page or across multiple pages) to the defaults. Although I would like to offer this feature, based on my research it would require a significant amount of development time that I am unable to devote to a free plugin. If you are a developer and would be interested in helping implement a feature like that, please let me know.
This is most likely caused by a poorly coded theme. This plugin makes use of the wp_footer()
function to load the JavaScript file and it's dependancy (jQuery). Check your theme to ensure that the wp_footer()
function is being called right before the closing </body>
tag in your theme's footer.php file.
For bug reports or feature requests or if you'd like to contribute to the plugin you can check everything out on Github.
useInnerBlocksProps
and useInnerBlocksProps.save()
for inner blocks handling.registerStore
with register
.registerStore
with register
change since it only applies to WordPress 5.7+.registerStore
with register
.unfiltered_html
permission (i.e. users with Author or lower user role) would get an "invalid content" error when viewing an accordion added by a user with the unfiltered_html
permission (and vise-versa).