Get last 4 portfolio items

[fusion_builder_container hundred_percent=”yes” overflow=”visible”][fusion_builder_row][fusion_builder_column type=”1_4″][fusion_recent_posts excerptlen=”150″ wpqueryargs=”post_type=dzs_portfolio&posts_per_page=1″] [/fusion_builder_column] [fusion_builder_column type=”1_4″][fusion_recent_posts excerptlen=”150″ getlast=”1″ wpqueryargs=”post_type=dzs_portfolio”][/fusion_builder_column] [fusion_builder_column type=”1_4″][fusion_recent_posts excerptlen=”150″ getlast=”2″ wpqueryargs=”post_type=dzs_portfolio”][/fusion_builder_column] [fusion_builder_column type=”1_4″_last][fusion_recent_posts excerptlen=”150″ getlast=”3″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth_last] [fusion_toggle title=”Get the code” iscode=”on” class=”toggle2″] [fusion_builder_row_inner][fusion_builder_column_inner type=”1_4″][/fusion_builder_column][fusion_builder_column type=”1_1″ background_position=”left top” background_color=”” border_size=”” border_color=”” border_style=”solid” spacing=”yes” background_image=”” background_repeat=”no-repeat” padding=”” margin_top=”0px” margin_bottom=”0px” class=”” id=”” animation_type=”” animation_speed=”0.3″ animation_direction=”left” hide_on_mobile=”no” center_content=”no” min_height=”none”][fusion_recent_posts excerptlen=”150″ wpqueryargs=”post_type=dzs_portfolio&posts_per_page=1″] [/fusion_builder_column_inner] [/fusion_builder_column][fusion_builder_column type=”1_4″][fusion_recent_posts excerptlen=”150″ getlast=”1″ wpqueryargs=”post_type=dzs_portfolio”][/fusion_builder_column] [fusion_builder_column type=”1_4″][fusion_recent_posts excerptlen=”150″ getlast=”2″ wpqueryargs=”post_type=dzs_portfolio”][/fusion_builder_column] [fusion_builder_column type=”1_4″_last][fusion_recent_posts excerptlen=”150″ getlast=”3″ wpqueryargs=”post_type=dzs_portfolio”][/one_fourth_last] [/fusion_toggle]

 

GET LAST 2 POSTS:

[fusion_recent_posts format=”format2″ wpqueryargs=””]
[fusion_recent_posts getlast=”1″ format=”format2″ wpqueryargs=””]
[fusion_toggle title=”Get the code” iscode=”on” class=”toggle2″]
[fusion_recent_posts format=”format2″ wpqueryargs=””]
[fusion_recent_posts getlast=”1″ format=”format2″ wpqueryargs=””]
[/fusion_toggle][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]