lunedì , 29 maggio 2017

Sample Portfolio (5 column – sidebar left)

This page demonstrates a simple usage of the portfolio shortcode to generate a 5 column layout without titles or description text. You can easily set the number of columns, image ratio, sorting methods and much more. Full details and documentation is available on the portfolio shortcode page.

[clear] [clear]

Square Images

[clear] [portfolio post_type=”page” post_parent=”1002″ content_width=”687″ image_ratio=”1:1″ columns=”5″ paging=false posts_per_page=”10″ orderby=”id” order=”ASC”]

[clear]

Tall Images

[clear] [portfolio post_type=”page” post_parent=”1002″ content_width=”687″ image_ratio=”1:2″ columns=”5″ paging=false posts_per_page=”10″ orderby=”id” order=”DESC”]

[clear] [clear]

Code:

[portfolio post_type="page" post_parent="1002" content_width="687" image_ratio="1:1" columns="5" paging=false posts_per_page="10" orderby="id" order="ASC"]

[clear]

[portfolio post_type="page" post_parent="1002" content_width="687" image_ratio="1:2" columns="5" paging=false posts_per_page="10" orderby="id" order="DESC"]