Portfolio Shortcode:
Displays Custom post type "Portfolio" in various view types. Shortcode is flexible and full of settings. Content Filtering and templates are also available. It is easy to change shortcode settings.
[ portfolio_freewall ]
Shortcode with parameters:
[ portfolio_freewall limit="8"
gutter
="10"sortby
="comment_count" sort_order
="ASC"extra_class
="my-extra-class"pagination
="off" filter="off"template
="freewall" wall_fit="height"]
Shortcode settings:
'post_type' => 'portfolio', // Any post type like "portfolio", "event", "testimonial", "slideshow". Defoult is "portfolio".
'limit' => '10', // Number of maximum posts to show for first and every next load. Integer.
'portfolio_type' => '' // Portfolio type term slug. Should be a name like 'animals' or string of terms separated by comma.
'portfolio_category' => '', // Portfolio category term slug. Should be a name like 'fashion' or string of terms separated by comma. Defoult state shows all categories.
'sortby' => 'date', // Options: title, date, rand, modified, comment_count. Default state is date.
'sort_order' => 'DESC', // ASC or DESC.
'template' => 'freewall', // "freewall", "uikit", "nested".
'pagination' => 'on', // or "off" to disable. Available only for "freewall", and "uikit" template.
'filter' => 'on', // or "off" to disable. Available only for "freewall" and "uikit" template.
'wp_img_size' => 'full', // Any registered WP image sizes. Only "uikit" template.
'lightbox' => 'on', // "on" or "off" to disable. Show button for fullscreen image view, on mouseover overlay.
'link' => 'on', // "on" or "off" to disable. Show button link to current post, on mouseover overlay.
'title' => 'off', // "on" or "off" to disable.Show post title, on mouseover overlay.
'overlay_cls' => '', // overlay classes.
'uk_grid_small' => '1', // Affects device widths of 480px and higher. Maximum columns max=6, min=1, default=2. Available only for "uikit" template.
'uk_grid_medium' => '2', // Affects device widths of 768px and higher. Maximum columns max=6, min=1, default=2. Available only for "uikit" template.
'uk_grid_large' => '4', // Affects device widths of 960px and higher. Maximum columns max=6, min=1, default=2. Available only for "uikit" template.
'uk_grid_xlarge' => '4', // Affects device widths of 1220px and higher. Maximum columns max=6, min=1, default=2. Available only for "uikit" template.
'uk_flex_gutter' => 'on', // "on" or "off" to disable. Available only for "uikit" template.
'wall_draggable' => 'true', // true or false to disable. Available only for "freewall" template. Boolean value. Draggable and sortable gallery items.
'wall_animate' => 'true', // true or false to disable. Available only for "freewall" template. Boolean value. Animation.
'wall_gutter' => '20', // enter integer from 0 to infinity, '0' - no gutter. Available only for "freewall" template. Default value is 20px.
'wall_delay' => '20', // enter integer from 0 to infinity, '0' - no delay. Available only for "freewall" template.Affects to animation duration. Default value is 20px.
'wall_fit' => 'height', // height, width, zone. Available only for "freewall" template.
'extra_class' => '', // enter extra class for custom styling.
'animation_cls' => '', // Class to add when the element is in view. Available only for "uikit" template. Available params: slide-top, slide-bottom, slide-left, slide-right, fade, shake, scale, scale-up, scale-down.
'animation_delay' => '0', // Integer. Delay time in ms. (150, 300, 500, 800). Available only for "uikit" template.
'animation_repeat' => 'false', // true or false. Available only for "uikit" template.
'exclude' => '', // id separated by comma.
'author' => '' // set an integer, author id='25'.