• Resolved Rollo27

    (@rollo27)


    It would be usefull if you could show an editable error text if there are no posts available in the choosen category. Unfortunately, then the content of all categories are shown instead.

    Thanks
    Ralph

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPXPO

    (@wpxpo)

    Hi @rollo27,

    I am sorry to say I can’t understand your issue clearly. Can you please describe it more or give me a screenshot of the problem?

    ?
    Note: You can upload your screenshot in here imgur.com it’s free and need not signup to upload some screenshot.

    Waiting for your reply

    Thread Starter Rollo27

    (@rollo27)

    Thanks for your reply!

    In my application I have defined 3 categories for contributions. I inserted your Gutenberg Post Block on 3 pages. However, 1 category is initially empty, there are no posts in it. I cannot select this category in the block’s settings on the corresponding page – there is no entry for it there. Instead, all posts of all categories are displayed on this page – this is a gross mistake. It must be possible to select empty categories in the settings, and then a text should be displayed such as “There are no entries” (editable, with a class tag around it). Unfortunately I cannot show an example yet, the website is still under construction.

    Sincerely
    Ralph

    Yes – I have the same issue. I’m wishing to show a list of relevant jobs (CPT) if available. When no listings are available I need to display a custom message.

    At the moment it’s not possible to add a category if that category is empty – empty categories do not appear in the category dropdown. To set up I added a dummy post to a category, then deleted it. This resulted in the block just not appearing on the front-end.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show message when category is empty’ is closed to new replies.