Jump to content

Conditional Meta Description


CMoore

Recommended Posts

I am trying to find the best way to write a conditional statement to display a meta description but only if the meta description is empty. We allow featured listings to have access to the meta description field but do not allow basic (non-featured) listing to access the meta. We'd like to write  a conditional statement that displays one thing if it is not featured, another thing if it is featured but the field has been left empty, and the meta field value if it is featured and not empty. I've looked but can't see where the meta description is being called from. Is there a file I can modify to do this? 

Link to comment
×
×
  • Create New...