Advertisement
jjswebs

elastiGallery Config

Apr 19th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.84 KB | None | 0 0
  1. $elastiGal = new elastiGallery(array(
  2.     'min_slides'    =>  array(
  3.         'type'  =>  'number',
  4.         'name'  =>  'Minimum Slides',
  5.         'description'   =>  'Ensures that this # of thumbnails is shown at all times.  Will scale accordingly.',
  6.         'default'   =>  '3'
  7.     ),
  8.     'number_thumbs' => array(
  9.         'type'  =>  'select',
  10.         'name'  =>  'Number Thumbnails',
  11.         'description'   =>  'Show numbers on the thumbnails in either an ascending or decending order. Will compensate for addon thumbnails aswell.',
  12.         'fields'    =>  array(
  13.             'none'  =>  'Disable Numbering',
  14.             'asc'   =>  'Ascending Numbering',
  15.             'desc'  =>  'Descending Numbering',
  16.         ),
  17.         'default'   =>  'none'
  18.     ),
  19.     'add_thumb' =>  array(
  20.         'type'  =>  'number',
  21.         'name'  =>  'Thumbnail Addon #',
  22.         'description'   =>  'How many posts to push at the end.',
  23.         'default'   =>  '0'
  24.     ),
  25.     'a_thumb_method'    => array(
  26.         'type'  =>  'select',
  27.         'name'  =>  'Addon Method',
  28.         'description'   =>  'Add posts according to primary parent category or tag name.  This does not take into account multiple categories or tags.',
  29.         'fields'    =>  array(
  30.             'tag'   =>  'Tag',
  31.             'cat'   =>  'Category'
  32.         ),
  33.         'default'   =>  'cat'
  34.     ),
  35.     'def_thumb' =>  array(
  36.         'type'  =>  'media',
  37.         'name'  =>  'Default Thumbnail',
  38.         'description'   =>  'A thumbnail to show if none exist for the additional thumbnails.'
  39.     ),
  40.     'img_size_name' =>  array(
  41.         'type'  =>  'text',
  42.         'name'  =>  'Image Size Name',
  43.         '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.',
  44.         'default'   =>  'thumb'
  45.     ),
  46.     'inc_method'    =>  array(
  47.         'type'  =>  'select',
  48.         'name'  =>  'Inclusion Method',
  49.         'description'   =>  '<b>(Advanced)</b> Method of inclusion for the gallery.  If unsure, leave this one alone.',
  50.         'fields'    =>  array(
  51.             'filter'    =>  'Filter Based',
  52.             'action'    =>  'Action Based'
  53.         ),
  54.         'default'   =>  'filter'
  55.     )
  56.    
  57. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement