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

pageCategory - Include Parent categories as well (optional) #220

Open
twentyfortysix opened this issue Apr 19, 2022 · 0 comments
Open

pageCategory - Include Parent categories as well (optional) #220

twentyfortysix opened this issue Apr 19, 2022 · 0 comments

Comments

@twentyfortysix
Copy link

Why
The post belongs to its category as well as to the category parent category, though the dataLayer pageCategory refers the immediate category only.
It would be great if the parent categories are part of the pageCategory dataLayer as an optional feature.

Might help someone - definitely me, as I would be able do regular update without post-processing ;')

What and how
I have made my own modification, kinda hack on the function without the Admin UI part.
see twentyfortysix@7beeb87

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

No branches or pull requests

2 participants