Changeset 225579
- Timestamp:
- 04/05/2010 06:58:52 PM (15 years ago)
- Location:
- nextgen-gallery-sidebar-widget/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
nextgen-gallery-sidebar-widget/trunk/ngg-sidebar-widget.php
r225577 r225579 2 2 /* 3 3 Plugin Name: NextGEN Gallery Sidebar Widget 4 Plugin URI: http:// ailoo.net4 Plugin URI: http://maff.ailoo.net/2009/04/nextgen-gallery-sidebar-widget/ 5 5 Description: A widget to show random galleries with preview image. 6 6 Author: Mathias Geat -
nextgen-gallery-sidebar-widget/trunk/readme.txt
r140867 r225579 1 1 === NextGEN Gallery Sidebar Widget === 2 2 Contributors: 3 Donate link: http:// ailoo.net3 Donate link: http://maff.ailoo.net/about/ 4 4 Tags: image, picture, photo, widgets, gallery, images, nextgen-gallery 5 Requires at least: 2. 56 Tested up to: 2. 8.27 Stable tag: 0. 2.35 Requires at least: 2.8 6 Tested up to: 2.9.2 7 Stable tag: 0.3 8 8 9 9 A widget to show NextGEN galleries in your sidebar. … … 11 11 == Description == 12 12 13 The NextGEN widgets only allow showing of single images, I needed a solution to show links to galleries, so I wrote this widget. The widget lets you specify the following parameters13 The NextGEN widgets only allow showing of single images, I needed a solution to show links to galleries, so I wrote this widget. You can specify the following parameters: 14 14 15 15 - Maximum Galleries: the number of galleries you want to show … … 19 19 - Output width/height: if you don't use AutoThumb, the plugin will set the HTML attributes width & height. 20 20 - Default Link Id: the widget assumes that you set up pages for each gallery and link the gallery to that page (you can use the NGG Gallery Editor to do this). If a gallery has no link set, it will use the default link (id of a page or post). 21 - Exclude galleries: exclude galleries by specifying their ID as comma separated list 22 23 Templating: 24 25 Beginning with version 0.3, you have full control over the widget's output as it is controlled with templates. As the built-in templates would get overwritten on every plugin update, create a new directory called "ngg-sidebar-widget" in your theme's directory and copy the two template files "tpl.outer.html" and "tpl.inner.html" over there to edit them. The outer template is just a wrapper template (useful when you need some additional markup, e.g. when creating a list), the inner template has access to all the values from the gallery and image object (written in a simple templating syntax: {=object.member}). For the most use cases you should only need "gallery.title", "gallery.link" and "image.url". 21 26 22 27 == Installation == … … 28 33 == Changelog == 29 34 35 - 0.3: Wordpress 2.8+ widget API, gallery exclusion option, templating feature 30 36 - 0.2.2: Add gallery_thumbnail option to select thumbnail image (preview, first, random)
Note: See TracChangeset
for help on using the changeset viewer.