Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $elastiGal = new elastiGallery(array(
- 'min_slides' => array(
- 'type' => 'number',
- 'name' => 'Minimum Slides',
- 'description' => 'Ensures that this # of thumbnails is shown at all times. Will scale accordingly.',
- 'default' => '3'
- ),
- 'number_thumbs' => array(
- 'type' => 'select',
- 'name' => 'Number Thumbnails',
- 'description' => 'Show numbers on the thumbnails in either an ascending or decending order. Will compensate for addon thumbnails aswell.',
- 'fields' => array(
- 'none' => 'Disable Numbering',
- 'asc' => 'Ascending Numbering',
- 'desc' => 'Descending Numbering',
- ),
- 'default' => 'none'
- ),
- 'add_thumb' => array(
- 'type' => 'number',
- 'name' => 'Thumbnail Addon #',
- 'description' => 'How many posts to push at the end.',
- 'default' => '0'
- ),
- 'a_thumb_method' => array(
- 'type' => 'select',
- 'name' => 'Addon Method',
- 'description' => 'Add posts according to primary parent category or tag name. This does not take into account multiple categories or tags.',
- 'fields' => array(
- 'tag' => 'Tag',
- 'cat' => 'Category'
- ),
- 'default' => 'cat'
- ),
- 'def_thumb' => array(
- 'type' => 'media',
- 'name' => 'Default Thumbnail',
- 'description' => 'A thumbnail to show if none exist for the additional thumbnails.'
- ),
- 'img_size_name' => array(
- 'type' => 'text',
- 'name' => 'Image Size Name',
- 'description' => '<b>(Advanced)</b> The name of the image size defined in your functions.php file for your theme or plugin. If unsure, leave this be.',
- 'default' => 'thumb'
- ),
- 'inc_method' => array(
- 'type' => 'select',
- 'name' => 'Inclusion Method',
- 'description' => '<b>(Advanced)</b> Method of inclusion for the gallery. If unsure, leave this one alone.',
- 'fields' => array(
- 'filter' => 'Filter Based',
- 'action' => 'Action Based'
- ),
- 'default' => 'filter'
- )
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement