A Widget that can be included into sidebar to display images (of flags in the default instance) depending on the category slug
Displays appropriate image (default being the national flag for the african country) based upon the '.gif' found in the child theme directory using the get_stylesheet_directory_uri()
Widget was part of a custom development project for a client and the product has been GPL'd (v3.0) for general use.
Developers are welcome to use and/or modify this plugin to their own use. To add your own images (say, American State flags or other category specific images) create a flags subdirectory in you main theme directory (or child theme directory if using a child theme) and add your custom images there named .gif. Use of other image forms will require a tiny change in the source code.
|Author:||iandstanley (profile at wordpress.org)|
|WordPress version required:||3.5|
|WordPress version tested:||3.6|
|Added to WordPress repository:||07-08-2013|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Click to start download
A Widget that can be included into sidebar to display flags depending on the category slug
Displays appropriate national flag for the african country based upon the '.jpg' found in the child theme directory using get_stylesheet_directory_uri()
Can I use different images?
Yes just add them to the flags subdirectory that you create in your theme or child theme directory
Can I use different image types?
Yes, but you will need to edit the source code to match your file types
- Corrected description
- Issue with displaying on single post page now fixed (does not display … due to likelehood of multiple category posts).
- Centred images in block
- Inline CSS tweaks
- Fixes to bottom margin
- Converted gifs to jpgs
- Ammended widget to use jpgs instead of gifs
- Added banner-772×250.jpg in assets for wordpress widget site
- Initial Release