Reply To: Removing a GP hook from a Blog Page

Home Forums Support Removing a GP hook from a Blog Page Reply To: Removing a GP hook from a Blog Page

Home Forums Support Removing a GP hook from a Blog Page Reply To: Removing a GP hook from a Blog Page

#93535
Tom
Lead Developer
Lead Developer

Hi Colin,

If you’re only trying to hide it on the blog page, you can use these conditionals:

<?php if ( ! is_home() && ! is_archive() ) : ?>
      Your shortcode in here
<?php endif; ?>

Then tick the “Execute PHP” option, and you should be good to go 🙂