How can I make dynamic fields only appear when a post data is available?

Imagine you have a post slider / query loop showing employees. Some employees have a LinkedIn profile that is to be displayed below their photo and name, some don't. You would now want your post slider to only display the LinkedIn icon when there is a LinkedIn profile available.

There's an easy way to do that in Greyd.Suite using our Conditional Content block. Place the block in the post template in your query loop and select "post meta field" as the condition. Then select the respective field (in our example that would be "Linkedin profile") and define the condition as "is set".

Backend screenshot of the Conditional Content block with the condition

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us