I don't want to display the ad in a few posts for a specific category (cat1, cat2).
Here's the ad code to display the ad on single.php
<?php get_template_part( 'template-parts/ads/below-header' ); ?>
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community