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 communityI 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' ); ?>
template-parts
folder and does not have advertisements, so I don't know whattemplate-parts/ads/below-header
contains or where that line is located