Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Ability to change with_front #4

@mrwweb

Description

@mrwweb

The Staff post type rewrite is set so that with_front is true. Unfortunately, that means you can get profile links like example.org/blog/staff/person/ because with_front appends the page_for_posts slug to the URL.

I suspect that just changing the plugin would probably break links on existing sites, so it seems that a filter might be the best option here. Happy to submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions