Get last 4 portfolio items

[one_fourth][recent_posts excerptlen=”150″ wpqueryargs=”post_type=dzs_portfolio&posts_per_page=1″] [/one_fourth] [one_fourth][recent_posts excerptlen=”150″ getlast=”1″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth] [one_fourth][recent_posts excerptlen=”150″ getlast=”2″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth] [one_fourth_last][recent_posts excerptlen=”150″ getlast=”3″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth_last] [toggle title=”Get the code” iscode=”on” class=”toggle2″] [one_fourth][recent_posts excerptlen=”150″ wpqueryargs=”post_type=dzs_portfolio&posts_per_page=1″] [/one_fourth] [one_fourth][recent_posts excerptlen=”150″ getlast=”1″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth] [one_fourth][recent_posts excerptlen=”150″ getlast=”2″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth] [one_fourth_last][recent_posts excerptlen=”150″ getlast=”3″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth_last] [/toggle]

 

GET LAST 2 POSTS:

[recent_posts format=”format2″ wpqueryargs=””]
[recent_posts getlast=”1″ format=”format2″ wpqueryargs=””]
[toggle title=”Get the code” iscode=”on” class=”toggle2″]
[recent_posts format=”format2″ wpqueryargs=””]
[recent_posts getlast=”1″ format=”format2″ wpqueryargs=””]
[/toggle]