As an example in my case, I wish to display only the post that has a testimonial field. If its empty, it should not display the field. Any help would be appreciated.
Thank you. But do you have clearer instructions or FAQ on how to perform that task? A youtube video or page to refer to? I tried to use the following steps: https://unlimited-elements.com/docs/showing-twig-code-examples/, but it shows javascript:void(0).
However, as I click "To show code examples in right panel click here.", It shows javascript:void(0) [See screen shot] and the "Twig code examples" does not display.
Hi there. I wish to display a post only if a certain field is not null. How can I do it?
As an example in my case, I wish to display only the post that has a testimonial field. If its empty, it should not display the field. Any help would be appreciated.
https://unlimited-elements.com/docs/twig-code-example-if-else/
Thank you. But do you have clearer instructions or FAQ on how to perform that task? A youtube video or page to refer to? I tried to use the following steps: https://unlimited-elements.com/docs/showing-twig-code-examples/, but it shows javascript:void(0).
Thank you.
this is the only tutorial i have
you need if empty
https://unlimited-elements.com/docs/twig-code-example-if-empty/
Thank you. I tried to simulate the same steps.
However, as I click "To show code examples in right panel click here.", It shows javascript:void(0) [See screen shot] and the "Twig code examples" does not display.
What am I doing wrongly?
Thank you.
u can copy from here
https://unlimited-elements.com/docs/twig-code-example-if-empty/
thank you