Skip to content

Post Type archive doesn't work #27

Open
@jaymcp

Description

@jaymcp

'has_archive' => $this->post_type,

Here, the archive is registered to the post type slug, so that it inherits the same localisable prefix as the single.
However, visiting that slug triggers WP's URL guessing, rather than loading the archive.

The archive slug should be registered separately, and default to petitions (rather than the singular petition used for the post type single).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions