-
Notifications
You must be signed in to change notification settings - Fork 882
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
Title template doesn’t work for non–hierarchical taxonomies in editor #3364
Comments
Adding to 3.5 milestone, as I closed later issue in it as duplicate of. |
3.5 comes too early. @Rarst if you want to have a go, be my guest. Otherwise, we'll do our best to include this in 3.7. |
Too JS for me. As per comment I only added to 3.5 because instance of same issue already was in it. |
Please inform the customer of conversation # 159070 when this conversation has been closed. |
Issue persists on Yoast 3.2.4 (current last version) and WordPress 4.3.6 (somehow dated, as we are in 4.7 at the moment) - but not always! Oftentimes the custom field gets properly parsed and appears fine in the preview, then in other posts (same post type) the custom field appears un-parsed between the %% signs. I am at a loss... Would updating WP help? Any help is appreciated! |
Please inform the customer of conversation # 231170 when this conversation has been closed. |
Please inform the customer of conversation # 259690 when this conversation has been closed. |
Please inform the customer of conversation # 436076 when this conversation has been closed. |
I was able to replicate this with WordPress 5.0.1 and Yoast SEO 9.2.1. I tested this with a custom post type (review), custom taxonomy (review_category) and a custom field (rating). The custom field gets replaced with its value correctly in the snippet editor. The custom taxonomy does not show in the snippet editor. SEO title: The generated title is |
Please inform the customer of conversation # 632641 when this conversation has been closed. |
Under Titles & Meta settings, I've set Title template for one of my custom post types, using the %%ct_%% variable.
![titles_ metas-yoast_seo mad_beppo wordpress-_2015-11-19_10 44 44](https://cloud.githubusercontent.com/assets/2043008/11277101/a3e2755c-8eaa-11e5-847a-69be1912b6e2.png)
which should read something like "Chapter 13 - French for Reading Knowledge" in the snippet title.
Instead, what I see in the snippet editor after the plugin update is: "Chapter 13 - %%ct_course%%"
![edit_course_file_ mad_beppo wordpress-_2015-11-19_10 48 09](https://cloud.githubusercontent.com/assets/2043008/11277181/0dddde6a-8eab-11e5-82a4-83905f9464b9.png)
In the front end, the title appears to be displaying correctly with the title template rendered properly:
![courses_ mad_beppo wordpress-_2015-11-19_10 49 45](https://cloud.githubusercontent.com/assets/2043008/11277260/66ac81d6-8eab-11e5-8321-cd559eecfcea.png)
so the problem seems to be just with the snippet title display of the template in the editor screen (not with the title template itself) -- not a critical bug but can be disconcerting for clients...and I assume is not intentional!
Thanks for looking into this!
The text was updated successfully, but these errors were encountered: