Hi,
Maybe Andrew or someone else can help with a small code snippet.
I want conditional CSS or HTML rendered IF there is an ad meeting the conditions in the Who See Ads-plugin.
For example:
If this is true:
<?php if (function_exists(‘wp_ozh_wsa’:wink:) { wp_ozh_wsa("my_ad":wink:; } ?>
Then I want something like this:
If = true
(HTML CODE HERE)
AD SENSE CODE HERE
(/HTML CODE HERE)
End If
Else
Nothing
Basically, I want custom formatting only to appear when there is an ad, otherwise no formatting to preserve the templates original formatting.
Did that make sense? :slight_smile:
I tried myself, but I reached my limitation…once again…in php-coding.