Reply To: Hook question

Home Forums Support Hook question Reply To: Hook question

Home Forums Support Hook question Reply To: Hook question

#245017
Tom
Lead Developer
Lead Developer

Hi there,

You would have to use a PHP conditional: https://codex.wordpress.org/Conditional_Tags

For example:

<?php if ( ! is_page( 'my-excluded-page-slug' ) ) : ?>
    <?php echo do_shortcode( '[your-shortcode]' ); ?>
<?php endif; ?>