Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar

Bởi Danny van Kooten
Tải về
  • Chi tiết
  • Đánh giá
  • Cài đặt
  • Nhà phát triển
Hỗ trợ

Mô tả

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.

Features

  • Capture more subscribers: Keep your email signup call to action visible while visitors browse.
  • Match your brand: Customize the bar text, button text, and colors from the plugin settings.
  • Choose its position: Display the subscribe bar at the top or bottom of the screen.
  • Let visitors dismiss it: Visitors can hide the bar when they are not interested.
  • Keep pages fast: The front-end JavaScript is under 2 kB when compressed.

About the Plugin Author

Danny van Kooten has been building WordPress plugins since 2010, starting with WordPress 3.0.

He is the founder of ibericode, the small software company behind popular WordPress plugins including Mailchimp for WordPress, Boxzilla Pop-ups and Koko Analytics.

Ảnh màn hình

A Mailchimp email signup bar displayed at the top of a WordPress site.
A Mailchimp email signup bar displayed at the top of a WordPress site.
A Mailchimp subscribe bar displayed at the bottom of a WordPress site.
A Mailchimp subscribe bar displayed at the bottom of a WordPress site.
The collapsed email signup bar, which visitors can reopen using the arrow button.
The collapsed email signup bar, which visitors can reopen using the arrow button.
The bar settings for choosing a Mailchimp audience and customizing the signup text, email placeholder, and button label.
The bar settings for choosing a Mailchimp audience and customizing the signup text, email placeholder, and button label.
The appearance settings for changing the notification bar position, size, colors, and sticky behavior.
The appearance settings for changing the notification bar position, size, colors, and sticky behavior.
The message settings for customizing signup responses and redirecting subscribers after a successful signup.
The message settings for customizing signup responses and redirecting subscribers after a successful signup.

Cài đặt

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.

Hỏi đáp

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 '<input type="text" name="NAME" placeholder="Your name" />';
} );

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 ) {
    &#35;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.

Đánh giá

Great plugin. Exceptional support!!

Gareth D 18 Tháng 8, 2026
Great plugin. Exceptional support!!

Terrible

labtecdxmp 20 Tháng 10, 2021
The Support staff are not interested in helping you, just marking their Topics as ‘Resolved’. You need to Hire a WordPress Developer if you want to get the full functionality from the ‘add-on’. I’ve spent 4 days wasting my time on this plugin and will never ever install this rubbish again. I’d give it 0/10 if i could.

missing GDPR support

mykilos 22 Tháng 6, 2020
This useful topbar does need to be updated to allow a required checkbox otherwise it’s no longer useful/legal to use on any website within the EU or any website collecting data from EU citizens.

doesn’t work

leclerc-web 21 Tháng 4, 2018 1 trả lời
the plugin is displayed in “plugins” but no menu, no settings, completely useless … it is useless!

Perfect

miggy91 20 Tháng 2, 2018
Works exactly as described with great support!

Great !

kikinovak 19 Tháng 2, 2018 4 trả lời
Hi, I just installed MailChimp Top Bar on my website (where it became a Bottom Bar), and it works just great. Setup is hassle-free, and it looks great without being too aggressive. https://www.microlinux.fr Cheers, Niki
Đọc tất cả 31 đánh giá

Người đóng góp & Lập trình viên

“MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • Danny van Kooten
  • ibericode
  • Harish Chouhan
  • Lap

“MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “MC4WP: Mailchimp Top Bar – Email Subscribe Notification Bar” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.7.7

  • Add autocomplete attribute to email field.
  • Hide notice that bar is disabled through PHP as well, to prevent confusion in case of JS failures.

1.7.6

  • Improved email address validation.
  • Address warnings reported by WordPress Coding Standards.

1.7.5

  • Allow WP Core to handle dependency on core Mailchimp for WordPress plugin.
  • Minor defensive coding improvements.

1.7.4

  • Bump required WordPress version to 7.4 or higher.
  • Modernize code base by using latest PHP features and removing legacy compatibility code.

1.7.3

  • Minor performance or memory usage related improvements.
  • Compatibility check with latest WordPress version.

View the full changelog on GitHub

Meta

  • Phiên bản 1.7.7
  • Cập nhật lần cuối 3 tuần trước
  • Số lượt cài đặt 6.000+
  • Phiên bản WordPress 4.9 hoặc cao hơn
  • Đã kiểm tra lên đến 7.1
  • Phiên bản PHP 7.4 hoặc cao hơn
  • Ngôn ngữ

    Dutch và English (US).

    Dịch sang ngôn ngữ của bạn

  • Thẻ
    email signupmailchimpnotification barSubscribe Bartop bar
  • Nâng cao

Đánh giá

4.6 trên 5 sao.
  • 28 5-star reviews 5 sao 28
  • 0 4-star reviews 4 sao 0
  • 0 3-star reviews 3 sao 0
  • 1 2-star review 2 sao 1
  • 2 1-star reviews 1 sao 2

Your review

Xem tất cả đánh giá

Những người đóng góp

  • Danny van Kooten
  • ibericode
  • Harish Chouhan
  • Lap

Hỗ trợ

Các lỗi đã xử lý trong vòng hai tháng gần đây:

1 trên 1

Xem diễn đàn hỗ trợ

Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

Ủng hộ plugin này

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.
The WordPress® trademark is the intellectual property of the WordPress Foundation.