A functionality where I could provide a default metatag token, which if it returned an empty value, could use another token instead would be usable in many cases.
Use case:
Content editor wants to add Custom Facebook and Twitter descriptions to part of your content, but for some of it, it should be a default token.
So the setup could look like [node:field_facebook_title],[node:title]. Which returns the first field if it is set, if not it uses the node title.
What I did was to create a custom token to create this functionality, but if it was a part of Metatag, this would be great. If there is a way to do this easier, I'd love to know.
Comments
Comment #1
DamienMcKennaThis is a duplicate of #2044621: Allow parent config to override empty values of more specific config.
Comment #2
DamienMcKenna