[sourcecode language=”html”][works header="works" limit="8" columns="4"][/sourcecode]
parameters
- limit - number of portfolio elements
- columns - number of columns - 4; 3; 2;
- header - header text
- all_label - all label
- icon
- groups - separate group names by commas. group will appear as buttons in the gallery
- skip - skip x elements, allows to skip x elements from collection
- order - order in which data should be fetched - asc; desc;
- orderby - order in which data should be fetched - date; ID; author; title; name; modified; parent; rand; menu_order;
- id - post id
- notids - exclude post id
- slug - post slug, filter by slug
- post_parent - post parent id, filter by parent id
- cat_name - category name, name of category to filter
- tag - tag name (slug), comma separated values: tag1,tag2 to exclude tags use '-' minus: -mytag will exclude tag 'mytag'
- s - keyword search, show item with certain keyword