Skip to content

Empty category page results in an error  #141

Description

@nodarik

As the title says, if the category has no posts its page is an error. I think it may be caused by the archive.php fallback:

since the template-parts/content that seems to assume there is some post to be shown.

Not a big issue since empty category doesn’t seem something useful, but since I noticed the issue I’m reporting it. 😉

Reported here:
https://colorlibsupport.com/t/empty-category-page-results-in-an-error/33172

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions