Linux 软件免费装
Banner图

MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar

开发者 Ibericode
DvanKooten
hchouhan
lapzor
更新时间 2026年6月22日 16:44
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-3.0-or-later
版权网址: 版权信息

标签

mailchimp notification bar top bar email signup subscribe bar

下载

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.14 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.0.4 1.2.12 1.7.4 1.6.1 1.6.2 1.7.0 1.5.4 1.5.5 1.7.5 1.0 1.0.1 1.1.2 1.2.5 1.5.6 1.6.0 1.0.3 1.2.13 1.0.2 1.7.1 1.0.6 1.2.15 1.7.2 1.7.3 1.2.9 1.5.3 1.7.6

详情介绍:

Grow your Mailchimp audience with a customizable email signup bar at the top or bottom of your WordPress site. The bar stays visible while visitors browse, helping your call to action get noticed without blocking your content. Mailchimp Top Bar is an add-on for MC4WP: Mailchimp for WordPress. It connects the bar to the Mailchimp audience of your choice.

安装:

Mailchimp Top Bar requires the MC4WP: Mailchimp for WordPress plugin. Automatic installation
  1. In your WordPress dashboard, go to Plugins > Add New.
  2. Search for Mailchimp Top Bar.
  3. Click Install Now, then activate the plugin.
  4. Go to Mailchimp for WP > Mailchimp Settings and enter your Mailchimp API key.
  5. Go to Mailchimp for WP > Top Bar and select a Mailchimp audience.
  6. Customize the text, colors, and position as needed.
Manual installation
  1. Download the plugin ZIP file.
  2. Go to Plugins > Add New > Upload Plugin.
  3. Upload the ZIP file, install it, and activate the plugin.
  4. Configure the API key and audience under Mailchimp for WP.

屏幕截图:

  • The settings page for customizing the Mailchimp notification bar colors, text, and behavior.

常见问题:

Can I show the Mailchimp top bar on specific pages only?

Yes. Use the mctb_show_bar filter to control where the bar appears. This example shows it on blog posts only: add_filter( 'mctb_show_bar', function( $show ) { return is_single(); } ); This example shows it only on the contact page: add_filter( 'mctb_show_bar', function( $show ) { return is_page( 'contact' ); } ); See the WordPress Conditional Tags documentation for other conditions.

Can I capture names in the notification bar?

Yes. Add a name field and pass its value to the selected Mailchimp audience: ` 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; } ); ` See adding a name field to Mailchimp Top Bar for more details.

How can I hide the email signup bar on mobile devices?

Add this CSS to hide the bar on screens narrower than 600 pixels: @media ( max-width: 600px ) { #mailchimp-top-bar { display: none !important; } }

Does Mailchimp Top Bar affect site performance?

The plugin keeps its front-end footprint small. Its JavaScript is under 2 kB when compressed, and the stylesheet loads without blocking page rendering.

Where can I get support?

Open a topic in the WordPress.org support forum.

更新日志:

1.7.6 1.7.5 1.7.4 1.7.3 1.7.1 View the full changelog on GitHub