• Hello, I would to ask you for advice if there is a way of hiding a slider box if it has no content inside.
    I have set each slider to pull content from a specific View Shortcode which fills content dynamically ( For example: I have added 4 Athletes with a Custom Post Type ).

    I am going to need to create 6 or 7 slides – currently only 4 slides of those are filled with content dynamically but in time there might be a chance that a content for the 5th slide is going to be pulled with content ( For example: Added a 5th Athlete ).

    The issue is that I have set the 5th slide with the needed shortcode which is going to pull the information for the 5th Athlete but since a 5th Athlete hasnt been added yet it shows a message as a 5th box slider “No items found”. I tried hiding it with conditional output and it hides this message but the Empty Slider Box remains there.

    Can you please advice me if there is a way to hide the 5th box if there is not filled content yet ?

    Thanks in advance.
    Best Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding a slider box if is empty’ is closed to new replies.