Linux 软件免费装
Banner图

MC4WP: Mailchimp Top Bar

开发者 Ibericode
DvanKooten
hchouhan
lapzor
更新时间 2024年10月3日 21:03
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.6
版权: GPLv3 or later
版权网址: 版权信息

标签

form mailchimp call to action subscribe top bar

下载

1.0.2 1.0.4 1.0.5 1.0.7 1.0.8 1.1 1.1.3 1.2 1.2.1 1.2.10 1.2.11 1.2.12 1.2.14 1.2.15 1.2.16 1.2.2 1.2.3 1.2.4 1.2.6 1.2.7 1.2.8 1.3 1.3.1 1.3.2 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.2.9 1.5.3 1.5.4 1.5.5 1.0.1 1.0 1.0.6 1.1.2 1.2.5 1.5.6 1.6.0 1.0.3 1.2.13

详情介绍:

Adds a beautiful, customizable sign-up bar to the top of your WordPress site. This bar is guaranteed to get the attention of your visitor and increase your Mailchimp subscribers.
This plugin is an add-on for the MC4WP: Mailchimp for WordPress plugin.
Mailchimp Sign-Up Bar, at a glance.. Mailchimp Top Bar adds a simple yet beautiful & customizable opt-in bar to the top or bottom of your WordPress site. Using this bar, people can subscribe to a Mailchimp list of your choice. Development of Mailchimp Top Bar Bug reports (and Pull Requests) for Mailchimp Top Bar are welcomed on GitHub. Please note that GitHub is not a support forum. More information

安装:

Mailchimp for WordPress Since this plugin depends on the Mailchimp for WordPress plugin, you will need to install that first. Installing Mailchimp Top Bar
  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Mailchimp Top Bar and click "Install now"
  2. Alternatively, download the plugin and upload the contents of mailchimp-top-bar.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin
  4. Set your Mailchimp API key in Mailchimp for WP > Mailchimp Settings.
  5. Select a Mailchimp list to subscribe to in Mailchimp for WP > Top Bar.
  6. (Optional) Customize the look & position of your opt-in bar.

屏幕截图:

  • The settings page of the Mailchimp Top Bar plugin.

升级注意事项:

1.2.6 Improvements to toggle icon for small screens & dark backgrounds.

常见问题:

How to disable the bar on certain pages?

For now, you will have to use a filter to disable the bar on certain pages. The following example only loads the Top Bar on your blog post pages. add_filter( 'mctb_show_bar', function( $show ) { return is_single(); } ); Another example, this only loads the bar on your "contact" page. add_filter( 'mctb_show_bar', function( $show ) { return is_page('contact'); } ); Have a look at the Conditional Tags page for all accepted functions.

How to add a name field to the bar?

You can use the following code snippet to show a "NAME" field in your bar. ` add_action( 'mctb_before_submit_button', function() { echo ''; }); add_filter( 'mctb_subscriber_data', function( $subscriber ) { if( ! empty( $_POST['NAME'] ) ) { $subscriber->merge_fields['NAME'] = sanitize_text_field( $_POST['NAME'] ); } return $subscriber; }); ` KB: Add name field to Mailchimp Top Bar

How to hide the bar on small screens?

Adding the following CSS to your site should hide the bar on all screens smaller than 600px. The Simple Custom CSS plugin is great for adding custom CSS. @media( max-width: 600px ) { #mailchimp-top-bar { display: none !important; } }

I think I found a bug. What now?

Please report it on GitHub issues if it's not in the list of known issues.

I have another question

Please open a topic on the WordPress.org plugin support forums.

更新日志:

1.6.2 - Oct 3, 2024 1.6.1 - Oct 1, 2024 1.6.0 - Jan 4, 2023 1.5.6 - Dec 1, 2022 1.5.5 - May 14, 2021 1.5.4 - May 7, 2021 1.5.3 - Mar 30, 2021 1.5.2 - Mar 9, 2020 1.5.1 - Jan 21, 2020 1.5.0 - Oct 7, 2019 Compatibility with Mailchimp for WordPress version 4.6. 1.4.1 - Sep 11, 2019 Changes 1.4.0 - Sep 4, 2019 Improvements 1.3.2 - Aug 8, 2018 Fixes Improvements 1.3.1 - May 29, 2018 Improvements 1.3 - November 1, 2017 Improvements 1.2.16 - January 19, 2017 Various minor code improvements. 1.2.15 - September 8, 2016 Improvements 1.2.14 - August 29, 2016 Fixes Improvements 1.2.13 - August 2, 2016 Fixes 1.2.12 - July 21, 2016 Fixes Improvements Additions Deprecated 1.2.11 - July 8, 2016 Improvements 1.2.10 - April 12, 2016 Fixes 1.2.9 - March 16, 2016 Fixes Top Bar was invisible on some themes because of z-index being too low. 1.2.8 - March 15, 2016 Improvements 1.2.7 - January 26, 2016 Improvements Additions 1.2.6 - January 4, 2016 Additions Improvements 1.2.5 - December 10, 2015 The plugin now requires Mailchimp for WordPress version 3.0 or higher. Fixes Improvements 1.2.4 - November 22, 2015 1.2.3 - November 13, 2015 Improvements 1.2.2 - September 10, 2015 Fixes 1.2.1 - September 8, 2015 Fixes Improvements 1.2 - September 3, 2015 Improvements Additions 1.1.3 - June 23, 2015 Fixes 1.1.2 - June 18, 2015 Improvements 1.1.1 - June 12, 2015 Fixes Improvements 1.1 - June 10, 2015 Improvements Additions 1.0.8 - May 6, 2015 Fixes 1.0.7 - April 15, 2015 Fixes Improvements 1.0.6 - March 17, 2015 Fixes Improvements 1.0.5 - February 25, 2015 Fixes 1.0.4 - February 23, 2015 Fixes Additions 1.0.3 - February 17, 2015 Improvements Additions 1.0.2 - February 12, 2015 Improvements Additions 1.0.1 - February 4, 2015 Fixes Additions Improvements Please update the Mailchimp for WordPress plugin before updating to this version. 1.0 - January 28, 2015 Initial release