该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Modalplate

描述

WP Modalplate is possibly the easiest and cleanest way to add responsive modals to your website! To see an example you can go to modalplate.jamesdbruner.com and take a look.

How to use it

There are two shortcodes here and you need to use both. Here’s an example of how to use these shortcodes together:

[modalplate_trigger]Example Button[/modalplate_trigger]
[modalplate title="Example Title"]Example content[/modalplate]

NOTE FOR THEME DEVELOPERS: This plugin makes use of both wp_head() and wp_footer() so if your theme is missing either you may experience issues using this plugin.

Special thanks to @chrishumboldt for creating the original Modalplate plugin. Check out WebPlate to see more of his awesome work.

屏幕截图

  • Example

安装

  1. Upload wp-modalplate.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the shortcodes [modalplate_trigger][/modalplate_trigger] and [modalplate][/modalplate] in the page/post you want

常见问题

None so far…

评价

2016年9月3日
I love how simple this plug in is. Does one thing and it's responsive. All I need. Thank you!!
阅读所有2条评价

贡献者及开发者

“WP Modalplate” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Modalplate”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 1.0

  • Initial commit