Set Minimum Number of Posts in Order for a Gallery to Load on a Page
Updated
Defining the minimum amount of posts for a Gallery can be helpful when there is a desire to ensure the visible post slots within your Gallery are always filled when the Gallery first loads.
To Set the Minimum Visible Post Number
Navigate to your Gallery and click on it to enter the editor.
Click the Settings tab on the right.
Locate the Min Post Count option and check the box to enable it. Then adjust the slider to the desired value. This will make it so that if there are fewer posts than the designated value, the Gallery will not render on the webpage.
Example - If I set the minimum number of posts value to 4, but I only have 3 posts assigned to my Gallery, the Gallery will not render on my webpage.
Click Publish to save your changes.