headstartwp
headstartwp copied to clipboard
useYoastHTML - some fields don't update when navigating between pages
Describe the bug
While this is an issue on my project, I have also verified that it is occurring on another project using this framework.
When passing useYoastHtml
into the Headless app component, the page metadata within the document head
seems to be correct, but when navigating around the site via internal links, many of the fields don't update. The title
component updates, but from what I can see, other fields don't.
Steps to Reproduce
- Navigate to a page on a site using the useYoastHTML option and open the document head in the Elements tab of your browser dev tools.
- Click an internal link on the page.
- Notice that the title updates but nothing else in the head.
- Completely refresh the page and see that the head does have the expected content.
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct