1. Sadly this version is not compatible with FCK plugin for wordpress (and probably not compatible with all other WYSIWYG plugins). This will change in next version, where Ad’s will be custom post type.
2. I copied that from old ad-minister site:
Adding positions to your template
To create a positition named ‘Top Banner’ wrapped in a div, the folling code is placed where the banner is to appear in the template (probably header.php):
‘Top banner’, ‘description’ => ‘This is the banner on top of every page’, ‘before’ => ‘
‘, ‘after’ => ‘
‘);
do_action(‘ad-minister’, $args);
?>
The minimum amount of code required to create a position is:
‘Top banner’));
?>
thank you Valentinas for your response
1. okay will wait for next version.
2. yes I have see that post. that why I said the documentation corrupted.
there is ending php code with ?>
but no start like
<?php and where to put a div?
can you give me a link to a theme that calling ad-minister/wp-ad-manager function so I can see the example. or can you add it on your plugin’s site documentation.
once again thanks
am3nnet, sorry for broken code, here is the correct code:
do_action('ad-minister', array(
'position' => 'position name',
'description' => 'just a description, not visible in front-end',
'before' => 'this is html added before ad',
'after' => 'this is html added after ad')
);
Put it where you want the add to appear. Change the values accordingly.
for point 2.
hi Valentinas, thank you. I’ll try that.
btw I’am also found few tutorial about ad-minister / wp-ad-manager, perhaps other can be use it.
http://www.creative-web-ideas.com/index.php/2009/12/easy-rotating-banners-graphics/
http://ww.wp.xz.cn/support/topic/ad-minister-and-working-with-categories/
for point 1. I’ll be switch off FCKEditor when need to work with wp-ad-manager meanwhile waiting for next version.
once again thanks for your help and keep the good job.
case close