开发者 | anna.bansaghi |
---|---|
更新时间 | 2024年11月15日 05:02 |
捐献地址: | 去捐款 |
PHP版本: | 5.3 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 |
版权网址: | 版权信息 |
http
https
mailto
skype
sms
tel
viber
The plugin works fine without JavaScript on the front-end of your site. We use JavaScript on the front-end in two cases:
You have full control over the single cookie which is called mobile_contact_bar_toggle.
If your site is cached via a caching plugin such as WP Fastest Cache or Cache Enabler, then it is important to clean those caches after the Contact Bar has been enabled. Also, if you disable the Contact Bar then the caches need to be cleaned again.
Currently there is no built-in support in the plugin itself for adding different colors. But it is possible to add custom CSS to your site via Theme Customization, as described in this thread: different-color-for-each-button
esc_attr
sanitize_text_field
rel="noopener"
for links opening in new tab links-to-cross-origin-destinations-are-unsafemcb_front_render_html
to mcb_public_render_html
mcb_admin_update_contacts
and mcb_admin_update_settings
filters