Hi Peter,
Thank you for contacting us and I'd be happy to assist.
There is no direct built-in feature available to achieve this, so you'll need to use a workaround.
You can create a new post view for showing the same post type as your existing view for the slider and with the exact same post order settings.
Additionally, in the "Limit and Offset" you'll select 1, because this new view will be needed to show exactly one result/post.
As for the content for the loop item, you can choose the "Unformatted" layout in the Loop Wizard and only include the HTML for the single slide in the loop.
Note: Also check the "Disable the wrapping DIV around the View" option below the "Loop Editor" so that the new view is not wrapped inside its own container div.
Now that this new view is ready, you'll need to include it in the main view, for the padded grid items. But before that, you'll need a custom shortcode, which can get the current loop item's position and the number of total results available on-page and then calculate the offset value for the new/child view:
add_shortcode( 'show_output_pad_item', 'show_output_pad_item_func');
function show_output_pad_item_func($atts) {
$a = shortcode_atts( array(
'index' => '',
'items' => ''
), $atts );
$offset = ($a['index'] - $a['items']) - 1;
$output = do_shortcode('[wpv-view name="slug-of-the-child-view" offset="'.$offset.'"]');
return $output;
}
The above code snippet can be included through either Toolset's custom code feature ( ref: https://toolset.com/documentation/adding-custom-code/using-toolset-to-add-custom-code/ ) or through active theme's "functions.php" file.
This shortcode accepts two attributes:
index: current item's position in the loop
items: total number of available results on the page
Please also replace "slug-of-the-child-view" with the actual slug of your newly created view.
The shortcode [wpv-loop-index accumulate='false' offset='0'] will give you the current item's position:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-loop-index
And the shortcode [wpv-items-count] will give you the total number of available results on the page:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-items-count
The new custom shortcode can be called inside the padded loop items ("pad" and "last-pad") as:
( screenshot: hidden link )
[show_output_pad_item index="[wpv-loop-index accumulate='false' offset='0']" items="[wpv-items-count]"]
As a result, whenever your main slider view will have 1, 2 or 3 empty grid blocks, they'll be filled automatically with first, second and third results/posts, accordingly.
I hope this helps and for more personalized assistance around custom code, you can also consider hiring a professional from our list of recommended contractors:
https://toolset.com/contractors/
regards,
Waqar