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
Up
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
[portfolio number="1" format="fullwidth"]
2. Get portfolio item from ID
Asics
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
[portfolio posts="339" format="fullwidth"]
3. Get 2 last portfolio item with 2 columns
[portfolio number="2" col="2" format="fullwidth"]
4. Get 3 last portfolio item with 3 columns
[portfolio number="3" col="3" format="fullwidth"]
5. Get 4 last portfolio item with 4 columns
[portfolio number="4" col="4" format="fullwidth"]
6. Get 2 portfolio item in a 590px width column in last position
Some content on the left
This is an additional one_third column
[one_third]
<h4>Some content on the left</h4>
<p>This is an additional one_third column</p>
[/one_third]
[portfolio number="2" col="2" format="normal" last="true"]
7. Get 4 portfolio item in a 590px width column in first position
Some content on the right
This is an additional one_third column
[portfolio number="4" col="2" format="normal"]
[one_third_last]
<h4>Some content on the right</h4>
<p>This is an additional one_third_last column</p>
[/one_third_last]