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

Announcement Bar

설명

This plugin adds a jQuery file that will position a fixed bar at the top of your browser screen to show announcements (controlled by a custom post type [CPT]) on each page load. Built with simple HTML and javascript.

Upon installation, you can choose the prefix for your post type. Be sure to choose wisely, because once you publish your first post this can’t be changed. If you are having problems with redirects visit your permalinks page to flush your rewrite rules by visiting your permalinks settings page (no save needed).

New: A cookie is added and deleted when you toggle the bar open and closed. Depending on the position of the bar when you leave the page is where it will be when you re-visit the site.

For question please visit my blog @ http://austin.passy.co

The Link
Please be aware when publishing a post, as of right now, you have to fill in the content with non-html text and add a link into the link field. This link is really the permalink and is what gets counted when clicked on. It will also revert to the home page if missing, and not count against the counter. If you’re getting 404 issues when visiting the permalink page, please refer to the FAQ section.

Future Releases

This plugin is brand new and has some future planes.

  1. Saved bar position with cookie settings.
  2. Post and page per post ID.
  3. Per post on/off toggle.
  4. ….

스크린샷

  • The settings page.

  • The edit post page.

  • The add post page.

  • The drop-down bar.

설치

Follow the steps below to install the plugin.

  1. Upload the announcement-bar directory to the /wp-content/plugins/ directory. OR click add new plugin in your WordPress admin.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Announcement Bar settings to edit your settings.

FAQ

I am getting a 404 error?

Please visit your permalinks settings page after activating the plugin.

후기

모든 3 평가 읽기

기여자 & 개발자

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

기여자

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

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

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

변경이력

= Version 0.4.1 (04/23/15)

  • Fix unexpected error during activation.

= Version 0.4 (12/17/14)

  • LOTS of code cleanup.
  • Fix basic PHP notices.
  • Ready for WordPress 4.1.

= Version 0.3.2 (12/3/12)

  • Updated Dashboard
  • Removed PHP4 support

= Version 0.3.1.1 (02/16/12)

  • Updated register_uninstall_hook.

= Version 0.3.1 (11/8/11)

  • Feeds updates.
  • WordPress 3.3 check

Version 0.3 (9/8/11)

  • Dashboard fix.
  • Other stuff I can’t remember.

Version 0.2.2 (6/23/11)

  • [BUG FIX] An error in the dashboard widget is causing some large images. Sorry. Always escape.

Version 0.2.1 (6/13/11)

  • Russian Translation files added (thanks to Elvis: http://wp.turkenichev.ru/).

Version 0.2 (6/1/11)

  • Complete overhaul.
  • [NEW] Now saves bar position with cookies.
  • Added backwords compatibility for jQuery < 1.6.x.
  • [NEW] Add your own custom CSS.

Version 0.1.5 (5/16/11)

  • Updated .attr() to .prop() for jQuery 1.6.x. New minimum install requirements.

Version 0.1.4 (3/30/11)

  • Dashboard widget updated.

Version 0.1.3 (2/24/11)

  • Removed javscript link causing hang-ups.

Version 0.1.2 (2/9/11)

  • Updated the feed parser to comply with deprecated rss.php and use class-simplepie.php

Version 0.1.1 (12/23/10)

  • Update CSS z-index for WordPress 3.1 admin-bar.

Version 0.1 (12/21/10)

  • Readme.txt file updated a bit. POT file added to languages.

Version 0.09 (12/20/10)

  • post_type announcementbar incorect on post-type.php.

Version 0.08 (12/20/10)

  • Bug fixes.

Version 0.07 (12/20/10)

  • Plugin name changed.

Version 0.06 (12/19/10)

  • Fixed issue with is_admin_bar_showing to work only with WP 3.1 or greater.
  • Couldn’t find wp-load.php to create dynamic CSS.

Version 0.05 (12/19/10)

  • Fixed issue with slug stuck in readonly setting.

Version 0.04 (12/19/10)

  • Removed scripts and styles from the admin.
  • Removed filter, used during testing.

Version 0.03 (12/19/10)

  • Readme update.
  • Added Custom Post Type.
  • Added options panel.
  • Added jQuery & CSS.

TODO

  • Check rewrite rules flushing proper on slug change.
  • Better stats.

Version 0.02α (12/15/10)

  • Readme update.