Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix taxonomy label URL #74

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Fix taxonomy label URL #74

wants to merge 1 commit into from

Conversation

gamezipper
Copy link

Issue:
In a blog item page, the taxonomy labels always point to the blog.url. It does not work well with a website with multiple blog-type pages. Different blogs can have their own blog root. A taxonomy at /blog1/item1 should point to /blog1, and /blog2/item1 should point to /blog2 respectively.
Fix:
Always point the taxonomy URL to the parent page.

Issue:
In blog item page, the taxonomy labels always point to the `blog.url`. It does not work well with a website with multiple blog-type pages. Different blogs can have their own blog root. A taxonomy at `/blog1/item1` should point to `/blog1`, and `/blog2/item1` should point to `/blog2` respectively.
Fix:
Always point the taxonomy URL to the parent page.
@rhukster
Copy link
Member

rhukster commented May 9, 2019

Unfortunately this only works for pages that are direct children of the blog. There are many situations where there are multiple levels of nested pages under the blog listing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants