Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

WordPress Notice

Opis

WP Notice plugin enable every admin to post animated announcement or messages in posts based on tags, categories or date.
You can assign several messages for the several posts. There are several custom designs based on BootStrap styles.
Along with the styles, you can also add to every message one of hundreds icons based on Font Awesome repository and
also choose animation type, duration and number of repetition. You can choose the position of the notices.

Ideal for technical sites that need to post deprecated notice on old posts and any other sites that need to show
messages to users based on categories, tags or date and get attention to the message by using icons and animation if needed.

WP Notice has fully automated testing environment based on WordPress PHPUnit with more that 90% code coverage. Travis CI
full integration allow us to make sure that WP-Notice will not be broken.

The plugin files are 100% compatible to WordPress coding standards (PHP files and JS files).
GitHub: https://github.com/barzik/wp-notice

Automated testing

WP Tutorial maker can be tested by using PHPUnit with the official WordPress testing environment.

  1. Install WordPress develop and PHPUnit. You can follow these instructions
  2. define local variable WP_TESTS_DIR with the location of WordPress develop phpunit folder.
    for example, put export WP_TESTS_DIR="/var/www/html/wordpress-develop/tests/phpunit" in .bashrc (Linux)
  3. Go to the plugin main folder and run phpunit.
  4. Tests coverage report is being printed in HTML page to ./log/CodeCoverage.

Translations

  • English – default, always included
  • Hebrew

Snimke zaslona

  • The wp-notice plugin admin settings page.
  • The wp-notice plugin success message after setting up the first notice.
  • wp-notice example.

Instalacija

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘wp-notice’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select wp-notice.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download wp-notice.zip
  2. Extract the wp-notice directory to your computer
  3. Upload the wp-notice directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

Recenzije

Pročitajte sve 2 recenzije

Suradnici i Programeri

“WordPress Notice” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

Prevedite “WordPress Notice” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

1.3.4

  • Adding Position choice: before content, after content or both.
  • Added PHPUnit test case.
  • Removed tests from production to testing.

1.3.2

  • Fix for link posting in messages.
  • Added PHPUnit test case for the link issues.

1.3.1

  • Fix for PHP warnings that happens when no condition notice saved.
  • Linting JS files.
  • Updating Grunt for jshint task.

1.3.0

  • Adding animations.
  • Adding PHPUnit testing for animations.

1.2.1

  • Remove possible XSS issues.
  • Complete Linting.
  • Removing deprecated code.
  • Removing options in uninstall.
  • Fixing all code standards for WP-Notice classes.
  • Adding several PHPUnit tests, 88% coverage!

1.2.0

  • Adding preview for messages
  • Adding icons to messages
  • Fixing security breach in admin interface

1.1.0

  • Fixed issues in date.
  • Allowing custom styling
  • Admin interface UI improvements
  • Better test coverage – more than 50%
  • Adding Travis CI integration

1.0.2

  • Adding WordPress PHPUnit integration.

1.0.1

  • Coding conventions, minor bug fix made by Yakir Sitbon

1.0

  • Initial version