• Resolved andreasfrankesl

    (@andreasfrankesl)


    Hi,
    I have some Magazin-Widgets on the start page and configured their columns to show specific categorie. But if there is no content/article in one of the configured categories (because they have to be filled later), they will not be empty as suspected. They show content from categories with content.

    Is there a usable way to get around this?

    Best regards
    Andreas

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi Andreas,

    Thanks so much for using Gambit.

    There is no way around that at the moment, I’m sorry.

    The database query will retrieve all your latest posts instead, if the selected category does not exist or has no posts. For WordPress Core, the category only exists if there is at least one post assigned to it.

    The only way to change that is with an extra check for posts in that category, before the database query is run. Currently the widget does not have that built-in, because it is kind of an edge case.

    I recommend to create simply dummy posts for empty categories, and replace those posts with real content later.

    Best,
    Thomas

Viewing 1 replies (of 1 total)
  • The topic ‘Magazine Widgets are showing content from not configured categories’ is closed to new replies.