');
$apiBanner->addChild('action', 'banner');
$apiBanner->addChild('width', '468');
$apiBanner->addChild('height', '60');
$api->add_request($apiBanner);
$api->request();
$banner_468x60 = $api->responseXML->response->answer;
$api = new WebAPI('publicapi', 'publicapi');
$apiBanner = new SimpleXMLElement('');
$apiBanner->addChild('action', 'banner');
$apiBanner->addChild('width', '720');
$apiBanner->addChild('height', '80');
$api->add_request($apiBanner);
$api->request();
$banner_720x80 = $api->responseXML->response->answer;
} catch(Exception $e) { /* Fail quitely */ }
?>
Dear AdMangler User,
You won't believe what I have gone and gotten myself into this time. I have written a plugin that is
beginning to gain momentum in the Wordpress community. Your help would be greatly appreciated. No, I don't expect
you to write code or even submit bug reports - so you can breathe that sigh of relief! But a donation
to Webternals, LLC in support of the AdMangler plugin would be wonderful and also help shift more resources
towards this project!
If you can help, please make a donation using the button provided. Then you can sit back with your lemonade,
while I am working to improve AdMangler for the community as a whole! Thank you so much!
Your Code Writter,
Allen Sanford
New this Version
- Add the built in media uploader for image type banners
Using Admangler
- Please Report Any Bugs Found to: bugs@webternals.com
-
ShortCode Support: (The built in wordpress shortcode feature)
[AdMangler width="468" height="60"]
[AdMangler width="468" height="60" position="1"] (Position is optional; Don't use 0 as it is the default and you want get the result you are looking for)
-
Template File Usage:
<?php echo do_shortcode('[AdMangler width="468" height="60" position="1"]'); ?>
-
AdMangler Widget: (On the Wordpress Backend)
Appearance -> Widgets -> AdMangeler Widget