humanmade / humanmade/altis-cms

Add config option for primary site `/blog` prefix on posts permastructure

Open
#461 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
46
Forks
4
Avg merge
14h 31m
Merged PRs (30d)
13

Description

Some sites need to use the `/blog` prefix that WP adds by default to post permalinks however we remove it currently to allow flexibility.

The blog prefix is notably desirable when using a page for posts withe slug `blog`.

We have a few options that would help to improve this:

- check the page for posts and it's slug, if it's blog then don't filter the permastructure option
- add a config option for whether to remove the `/blog` prefix, defaulting to removing it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.