mark2012 Posted February 4, 2021 Posted February 4, 2021 Hello Im looking to add meta description for profiles pages but im having problem how to add variables such as username. Example for meta description : <username> - website name : top keyword for best experience Any suggestion please ?
bfarber Posted February 5, 2021 Posted February 5, 2021 If you're using the live meta tag editor, it won't support variables. If you are editing the template or using a plugin, you'll want to look at $member->name or $this->member->name depending upon where you are making your edits. mark2012 1
mark2012 Posted February 5, 2021 Author Posted February 5, 2021 3 minutes ago, bfarber said: If you're using the live meta tag editor, it won't support variables. If you are editing the template or using a plugin, you'll want to look at $member->name or $this->member->name depending upon where you are making your edits. @bfarber thanks a lot for info! Indeed i was looking to use meta tag editor.I will try instead your suggestion with template editing.
Recommended Posts