seo
seo copied to clipboard
Feature Request - Conditional text in SEO field tokens
Description
I'm wanting to show a page title that changes a locked token depending on if an unlocked token has text in it e.g. if a contact page had "Contact US" in an unlocked token then a locked token would then append "| SiteName.com", but on a homepage the unlocked token was empty, then the locked token would change to just show "SiteName.com" (with the missing |).
Additional info
- Craft version: 3.6.17
- SEO version: 3.7.4
- PHP version: 7.4.16
- Database driver & version: MySQL 5.7.34
- Other Plugins:
That's a nice idea, will bear it in mind.
Right now, to get around this requirement we have a separate SEO field we only use on the homepage with a single unlocked token.