Basic Usage
[gs_portfolio]
Shortcode attributes Usage
gs_portfolio posts="10" order="ASC" hover_effect="effect-zoe" popup_effect="mfp-newspaper"]
No. | Attribute | Default value | options | Description |
---|---|---|---|---|
1 | posts | -1 | -1 for all or any number | By default it’ll show all the Portfolios but you can control it by posts attribute. |
2 | order | DESC | DESC ASC | Normally Portfolios will show by descending order, latest will show first. But if you wish to display ascending order, oldest at first then pass order="ASC" parameter. |
3 | orderby | date | ID title modified rand | Use preffered orderby attribute |
4 | hover_effect | effect-sadie | effect-sadie effect-julia effect-kira effect-winston effect-zoe effect_horizontal_1 effect_horizontal_2 effect_horizontal_3 effect_horizontal_4 effect-hexgrid effect-slider effect-masonary filter-effect-sadie filter-effect-julia filter-effect-kira filter-effect-winston filter-effect-zoe filter-selected-cats effect-grid-slide effect-column-animated effect-column-3d effect-timeline | Use preferred hover effect attribute from 22 available themes |
5 | popup_effect | mfp-move-horizontal | mfp-move-horizontal mfp-move-from-top mfp-newspaper mfp-3d-unfold mfp-zoom-in mfp-zoom-out | Use preffered popup effect attribute |
6 | portfolio_cat | all | Portfolio Category Slug | To get your Portfolio category slug, go to GS Portfolios -> Portfolio Category. Here you will find Portfolio category & all the slugs |
7 | port_cols_val | 4 (3 columns) | 6 (2 columns) 4 (3 columns) 3 (4 columns) | Columns are based on 12 grids Bootstarp, so follow columns value |
8 | cats_name | intitial | none | If you display only one category’s data then no need to display category names for filtering, passing the none value will hide the filtering section |