이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

WordPress Alert Bar

설명

WordPress Alert Bar allows you to quickly and easily add an alert bar to your WordPress website.

All content and styles are fully customizable through the WordPress Customizer, allowing you to easily match the alert bar to your sites branding with no coding necessary, and with real time preview you can see what you’re doing before publishing. WordPress Alert Bar also gives you the ability modify the way the alert bar displays with options to have the alert bar appear across your entire site or just the homepage, or include a close button. This gives you the power to use WordPress Alert Bar in a way that best fits your message.

WordPress Alert Bar also applies unique classes to the body tag and all elements of the alert bar making it easy for developers to further modify the styles to fit the needs of your WordPress website.

Features

  • Custom Colors to match your site branding
  • Custom title, message and call to action ( all items are optional and fully conditional )
  • Ability to display banner across your entire site or just the homepage
  • Body class added to pages where WordPress Alert Bar is visible

스크린샷

  • WordPress Alert Bar section in customizer

  • Sub sections in customizer for Styles, Content, and Display

  • Styles section to customize colors and font size. Options are editable from the customizer with real time preview

  • Content section to add custom messaging and call to action. Options are editable from the customizer with real time preview

  • Display section to customize where the alert displays on your site. Options are editable from the customizer with real time preview

FAQ

My WordPress site has a sticky header that uses position fixed causing it to cover the WordPress Alert Bar, how can I fix this?

WordPress Alert Bar comes with a filter that allows you to define your sites fixed header so that it can account for the alert bar. Simply navigate to the functions.php file in your child theme and paste in the following code snippet, making sure to replace .site-header with the class or ID of your sites fixed position header.

// Define fixed header for WordPress Alert Bar
add_filter( 'mbwpab_fixed_header_selector', 'mbwpab_define_fixed_header' );
function mbwpab_define_fixed_header( $header ) {
    $header     =   '.site-header';
    return $header;
}

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“WordPress Alert Bar”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“WordPress Alert Bar”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “WordPress Alert Bar”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.2

Release Date – April 4 2023

  • Fix – Tested plugin against the most recent version of WordPress.

1.0.2

Release Date – May 10 2021

  • Fix – Adjusted hook priority for WordPress Alert Bar to prevent conflict with favicons set through the WordPress Customizer.

1.0.1

Release Date – Jun 12 2020

  • New – Added class to WordPress Alert Bar when close button is active.
  • Fix – Gave unique class selector to WordPress Alert Bar call to action.
  • Fix – Removed extra right padding on mobile when close button is not active.
  • Fix – Cleaned up erroneous styles from style.css.
  • Fix – Enqued WordPress Alert Bar style.css eairler to allow plugin stlyes to be overridden using theme stylesheet, without the need for important tags.

1.0.0

Release Date – May 31 2020

  • New – Added WordPress Alert Bar to repository.