开发者 | iworks |
---|---|
更新时间 | 2025年7月9日 14:37 |
PHP版本: | 8.0 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
Add New
button.Simple Consent Mode
.Simple Consent Mode
will appear in your Admin.Add New
button.Upload Plugin
.Simple Consent Mode
will appear in your Admin.simple-consent-mode
folder to the /wp-content/plugins/
directorySimple Consent Mode
will appear in your Admin.You can do it on Support Threads, but please add your ticket to Github Issues.
Simply add the class iw-scm-dialog-open
to any link, and the dialog will open.
The shortcode scm_link_to_show, is designed to create a link that opens a consent dialog.i Parameters The scm_link_to_show shortcode accepts the following parameters:
[scm_link_to_show container_tag="span" container_classes="my-container-class" classes="my-link-class" text="Open Consent Dialog" aria-label="Open consent dialog for more information"]
This will create a link wrapped in a span element with the specified classes and text, and it will open a consent dialog when clicked.
[scm_link_to_show]
shortcode has been added. #8. Props for Daniel.