Url blacklist should work.
On which pages are you trying to hide ads? Please list urls.
Are you using caching? If yes, have you deleted cache pages after the change?
Put the following as blacklisted urls:
/portfolio/cleveland-dental/ /portfolio/cabbage-head-cafe/
You can also disable ads on specific posts by choosing “On all except selected posts” for ad block and then edit each post where you want to disable ads and disable ad blocks (Ad Inserter exceptions below the post editor).
The Ad Inserter exceptions below the post editor doesn’t show for my custom post type. Is there a way to make it appear?
The problem was solved with a simple PHP code to exclude all urls that start with a pattern:
<?php if (strpos ($_SERVER [‘REQUEST_URI’], ‘/portfolio/’) === false) { ?>
AD CODE
<?php } ?>
I’ll try to add support for pattern matching in next versions.
I’d like to see this custom post type exclusion option to be available in the next update too.
Custom posts are Custom.
If they are not including standard meta options for posts/pages there is absolutely nothing plugin developers can do.