Portfolio Shortcodes

[margin-bottom][widget title=”” layout=”4-column” type=”portfolio”][/widget][/margin-bottom]

[prettyprint][widget title=”” layout=”4-column” type=”portfolio”][/widget][/prettyprint]

[margin-bottom][widget title=”This is a title” type=”portfolio” layout=”3-column” style=””][/widget][/margin-bottom]

[prettyprint][widget title=”This is a title” type=”portfolio” layout=”3-column” style=””][/widget][/prettyprint]

[margin-bottom][widget title=”” type=”portfolio” layout=”4-column” style=”style2″ orderby=”rand”][/widget][/margin-bottom]

[prettyprint][widget title=”” type=”portfolio” layout=”4-column” style=”style2″ orderby=”rand”][/widget][/prettyprint]

[margin-bottom][widget title=”This is a title” type=”portfolio” layout=”4-column” style=”style2″ order=”ASC”][/widget][/margin-bottom]

[prettyprint][widget title=”This is a title” type=”portfolio” layout=”4-column” style=”style2″ order=”ASC”][/widget][/prettyprint]

[h4]Shortcode Attributes[/h4]

[table type=”table-bordered table-striped”]
[table-head]
[tr]
[th]Attribute[/th][th]Value[/th]
[/tr]
[/table-head]
[table-body]
[tr]
[td]layout[/td][td]2-column, 3-column, 4-column, 6-column[/td]
[/tr]
[tr]
[td]type[/td][td]post, portfolio[/td]
[/tr]
[tr]
[td]category[/td][td]Category slug separated by comma, an example: link,full[/td]
[/tr]

[tr]
[td]title[/td][td]Any value[/td]
[/tr]

[tr]
[td]style[/td][td]style1, style2[/td]
[/tr]
[/table-body]
[/table]

Available Order & Orderby Parameters please find on [hyperlink target=’_self’ href=’http://codex.wordpress.org/Class_Reference/WP_Query’]http://codex.wordpress.org/Class_Reference/WP_Query[/hyperlink]

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Esse site utiliza o Akismet para reduzir spam. Aprenda como seus dados de comentários são processados.