CMoore Posted February 15, 2021 at 10:34 PM Share Posted February 15, 2021 at 10:34 PM 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
Alejandro Posted February 15, 2021 at 10:44 PM Share Posted February 15, 2021 at 10:44 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
CMoore Posted February 15, 2021 at 10:49 PM Author Share Posted February 15, 2021 at 10:49 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
CMoore Posted February 16, 2021 at 01:25 AM Author Share Posted February 16, 2021 at 01:25 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted February 16, 2021 at 01:56 AM Share Posted February 16, 2021 at 01:56 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
CMoore Posted February 16, 2021 at 01:50 PM Author Share Posted February 16, 2021 at 01:50 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. n00bster and Alex.1 2 Link to comment
CMoore Posted February 16, 2021 at 01:53 PM Author Share Posted February 16, 2021 at 01:53 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted February 16, 2021 at 02:40 PM Share Posted February 16, 2021 at 02:40 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Alex.1 1 Link to comment
Recommended Posts