This topic has 1 reply, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #131791
     andrius
    Participant

    Hello,

     

    Situation: The website has an “Event” page where people post events which are displayed using the Post Grid, filtered by category name. Sometimes it can be that there are no upcoming events in the block and it displays an empty space.

    I would like to fill that space with a placeholder of some sort (an image or a special post ), whenever there are no upcoming events displayed. I imagine there has to be a custom function that checks whether there is something in that block or not, but I don’t really know where to find the hook for the Post Grid so I can check it in my statement.

    I hope this is clear enough to understand what I’m trying to do. I wasn’t able to access WPbakery’s support, since I have no license of their product.

    Also, any other ideas on how to solve it would be appreciated 🙂

    #131981
     Laura
    Moderator
    Not marked as solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?