Maelezo
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.
- Install WordPress develop and PHPUnit. You can follow these instructions
- define local variable WP_TESTS_DIR with the location of WordPress develop phpunit folder.
for example, putexport WP_TESTS_DIR="/var/www/html/wordpress-develop/tests/phpunit"
in .bashrc (Linux) - Go to the plugin main folder and run
phpunit
. - Tests coverage report is being printed in HTML page to ./log/CodeCoverage.
Translations
- English – default, always included
- Hebrew
Screenshots
Installation
Using The WordPress Dashboard
- Navigate to the ‘Add New’ in the plugins dashboard
- Search for ‘wp-notice’
- Click ‘Install Now’
- Activate the plugin on the Plugin dashboard
Uploading in WordPress Dashboard
- Navigate to the ‘Add New’ in the plugins dashboard
- Navigate to the ‘Upload’ area
- Select
wp-notice.zip
from your computer - Click ‘Install Now’
- Activate the plugin in the Plugin dashboard
Using FTP
- Download
wp-notice.zip
- Extract the
wp-notice
directory to your computer - Upload the
wp-notice
directory to the/wp-content/plugins/
directory - Activate the plugin in the Plugin dashboard
Reviews
Wachangiaji & Wasanidi
“WordPress Notice” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WordPress Notice” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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