Hi,
I have a problem with “Before Content” hook.
I want to exclude my code from category page and from a single page.
If I use:
<?php if (!is_category()) : ?>
To exclude from category page it works.
If I use:
<?php if (!is_page('3025')) : ?>
To exlude from a single page it works.
If I use:
<?php if ( !is_page('3025') || !is_category()) : ?>
I does not work. Hook is fired both in category page and on the single page.
What am I doing wrong?
Thank you!