Reply To: Conditional display of a full width call to action section AND footer widgets?

Home Forums Support Conditional display of a full width call to action section AND footer widgets? Reply To: Conditional display of a full width call to action section AND footer widgets?

Home Forums Support Conditional display of a full width call to action section AND footer widgets? Reply To: Conditional display of a full width call to action section AND footer widgets?

#154135
Tom
Lead Developer
Lead Developer

For the footer widgets, just set your global setting to 3 widgets and then you can remove them on those select pages where you don’t want them using the metabox.

For the CTA, it gets tricky.

You could do something like this in GP Hooks:

<?php if ( is_page( array( 1, 2, 3, 4 ) ) ) : ?>
    If the page ID is 1, 2, 3 or 4 (change these), show this text (or do nothing at all).
<?php else : ?>
    Or else, show the CTA
<?php endif; ?>