Gallery Widget
Gallery Widget is a simple plugin that let you show the latest/random images of the wordpress media gallery inside a widget, directly in your templates (it is possible to choose some categories to be included/excluded) or in posts/pages using a shortcode (see faq on how to use them). For more inform
Gallery Widget is a simple plugin that let you show the latest/random images of the wordpress media gallery inside a widget, directly in your templates (it is possible to choose some categories to be included/excluded) or in posts/pages using a shortcode (see faq on how to use them).
For more information on how to use this plugin see splash 😉
Please report bugs and/or feature-request to the ticket-system: TicketSystem/Wiki . For Support, please use the forum . Latest development news: Twitter .
- 01Upload the ‘gallery_widget’ folder to the ‘/wp-content/plugins/’ directory
- 02Activate the plugin through the ‘Plugins’ menu in the WordPress admin
- 03Go to Design->Widgets, activate the “Gallery Widget”, adjust the title and max number of images to your needs or
- 04use the php-object $galleryWidget in your template (see here )
Warning: Cause of the way the attachments are fetched using the standard option (all), even images of not yet published posts are shown. If this is a problem for you, you should use the option (include or exclude), although it is less optimized.
Frequently asked questions.
How can i adjust the look of the Widget?
Just use the CSS-Class “wGallery” to alter the ul- or li-tags.
How can i get only the images of one/some categories?
Use the category-option include or exclude and enter the id’s separated by comma in the options of the widget.
Why doesn’t the images link to the parent article?
This option actually only works with “category-option” set to include or exclude.