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

Filter WordPress the_title on single profile #161

Open
kimcoleman opened this issue May 14, 2024 · 0 comments
Open

Filter WordPress the_title on single profile #161

kimcoleman opened this issue May 14, 2024 · 0 comments

Comments

@kimcoleman
Copy link
Member

kimcoleman commented May 14, 2024

For SEO reasons, now that we are using distinct URLs for single profile pages, we can also update the page's <title> tag using the https://developer.wordpress.org/reference/hooks/the_title/ filter.

We are already using the the_title filter to adjust the title shown in the page itself, but this same logic isn't working for the tag of the page.

When doing this work, let's also consider whether we should filter the meta description of the page as well using the profile user's biography.

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

No branches or pull requests

1 participant