Manage ads on your website trough the WP dashboard.
(you can skip this section if you're not into programming at all)
Essentially they are just action tags that you can add trough your template files, where ads could be displayed. For example, you could add one after the theme header, logo or whatever:
<?php do_action('after_header'); ?>
Then register the ad location in your theme functions.php, so the plugin becomes aware of it:
if(class_exists('AdManager')) AdManager()->registerAdLocation('after_header', __('After theme header'));
If you're not the theme developer you may want to make these changes inside a child theme.
Locations don't need to be unique. You can have multiple locations on the same page with the same name, like
Here the index field becomes handy, because it allows you to set the ad to be displayed after the Nth location.
To add index support to your location simply append the
:index keyword to the first argument you pass to
if(class_exists('AdManager')) AdManager()->registerAdLocation('after_post:index', __('After post'));
The options table. I didn't think it was worth it to create a custom table, since most sites won't have more than 10-20 ads on them.
You can use the
[ad n] shortcode, where
n is the ID of the ad
Requires: 3.2 or higher
Compatible up to: 3.3.2
Last Updated: 4 years ago
Active Installs: 3,000+
Got something to say? Need help?