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

WC Welcome Message

描述

WC Welcome Message allows you to personally interact with your WooCommerce store visitors. Included with this plugin are two new fields in the WooCommerce general settings section which allow you to create unique personalized messages for both returning customers and guests. These messages are then easy to include in your posts, pages, and widgets using a shortcode.

屏幕截图

  • WC Welcome Message fields in the WooCommerce settings.
  • WC Welcome Message shortcode in action in a widget!
  • A sample message for returning visitors.
  • A sample message for a guest.

安装

  1. Upload wc-welcome-message to the /wp-content/plugins/wc-welcome-message directory or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Create your messages in the WooCommerce general settings page under the section for WC Welcome Message.
  4. Add the shortcode [wc_welcome_message] into a post, page, or widget.
  5. 完成了!

常见问题

How do I style the message?

The message is wrapped in a paragraph tag with the id of wc-welcome-message which can be used for css styles.

How do I use this within a template file?

Add the following code to your template file:

What happens if I forget to add the message?

By default, each message has a fallback which will display if a message isn’t saved in the settings.

评价

2016 年 10 月 17 日
I would like to give the first review of this plugin. It works as expected. However, in my website, I only need or require the message to be displayed to current registered users and not to guest users as well. As a future enhancement, it would be good to include the option to choose between to show the message only to registered users, only to guest users or both. For the above reason, I ended up unstalling the plugin. However, as mentioned before, plugin does exactly what it says it currently does.
阅读所有1条评价

贡献者及开发者

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

贡献者

更新日志

1.0

Initial release