Hi,
I´m trying to do the following.
I have a template header only for homepage and a template header for the rest of the pages and my conditional tags work fine as follows:
<?php if ( is_front_page() ) : ?>
[elementor-template id=”17″]
<?php endif; ?>
<?php if ( ! is_front_page() ) : ?>
[elementor-template id=”125″]
<?php endif; ?>
Now I have a specific Landing Page and I don´t want to display on that page none of those templates, I have tried with this Tag:
<?php if ( ! is_page( 7400) ) : ?>
[elementor-template id=”125″]
<?php endif; ?>
but it doesn’t work as it displays twice the template.
Thanks for your help.