Portfolio items

Parameters
  • number (number of post)
  • col (number of column)
  • category (id of the category)
  • posts (id of post – separated with coma if more than one)
  • format (“fullwidth” or “normal”)
  • last (if using “normal” format and in last column position)

1. Get the last portfolio item

[portfolio number=”1″ format=”fullwidth”]
[code][portfolio number=”1″ format=”fullwidth”][/code]

[line]

2. Get portfolio item from ID

[portfolio posts=”339″ format=”fullwidth”]
[code][portfolio posts=”339″ format=”fullwidth”][/code]

[line]

3. Get 2 last portfolio item with 2 columns

[portfolio number=”2″ col=”2″ format=”fullwidth”]
[code][portfolio number=”2″ col=”2″ format=”fullwidth”][/code]

[line]

4. Get 3 last portfolio item with 3 columns

[portfolio number=”3″ col=”3″ format=”fullwidth”]
[code][portfolio number=”3″ col=”3″ format=”fullwidth”][/code]

[line]

5. Get 4 last portfolio item with 4 columns

[portfolio number=”4″ col=”4″ format=”fullwidth”]
[code][portfolio number=”4″ col=”4″ format=”fullwidth”][/code]

[line]

6. Get 2 portfolio item in a 590px width column in last position

[one_third]

Some content on the left

This is an additional one_third column

[/one_third]
[portfolio number=”2″ col=”2″ format=”normal” last=”true”]
[code]
[one_third]

Some content on the left

This is an additional one_third column

[/one_third]
[portfolio number=”2″ col=”2″ format=”normal” last=”true”]
[/code]

[line]

7. Get 4 portfolio item in a 590px width column in first position

[portfolio number=”4″ col=”2″ format=”normal”]
[one_third_last]

Some content on the right

This is an additional one_third column

[/one_third_last]
[code]
[portfolio number=”4″ col=”2″ format=”normal”]
[one_third_last]

Some content on the right

This is an additional one_third_last column

[/one_third_last]
[/code]

[line]

Leave a Reply