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

Welcome! Mobile

描述

Display a welcome message to users browsing your site on smartphones. Choose between Android and iOS or use a default message for all mobile platforms. You can either use built-in visual editor or output your own HTML code.

  • Choose between Android & iOS or use a default message for all mobile platforms.

  • Message will be displayed every time user visits the site unless she clicks on the close button.

  • Clicking the close button stores the cookie locally on users computer.

  • Message will not be visible unless the cookie expires or gets deleted.

  • Translation ready.

Head over to Support section or visit the GitHub project page for support for this plugin.

屏幕截图

  • Welcome! Mobile Settings page. Pretty simple and self-explanatory.

安装

  1. Upload welcome-mobile.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Adjust your settings in Settings > Welcome! Mobile

常见问题

How does Welcome! Mobile detect mobile devices?

mobiledetect PHP library is used for detecting mobile devices. Currently users can set up a different messages depending on which platform visitor uses to visit your site (Android or iOS) or use a default welcome message for all devices.

How does Welcome! Mobile store cookies?

JavaScript Cookie is used for handling the cookie which is created when the user clicks on the close button. By default cookie is valid for 20 days if the user hasn’t set a expiration date.

How can I style the welcome message?

You can use “Custom CSS” field at the bottom of the options page to style your message which will output in the section of the site.

评价

此插件暂无评价。

贡献者及开发者

「Welcome! Mobile」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Welcome! Mobile」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.1.1

  • Added compatibility with the latest WordPress version (4.6 at the time of release).

1.1

  • Added compatibility with the latest WordPress version (4.4.1 at the time of release).
  • Updated mobiledetect library to the latest version.
  • Added an option to output custom CSS and JavaScript.
  • Rewrote the plugin using the WordPress Plugin Boilerplate as a base.

1.0

  • Initial release.