1====== GoogleAds ======
2
3This plugin allows you to include [[wp>Adsense|Google Adsense]] advertisings into your wiki page.
4
5To use it, you'll have to insert the following code into your template:
6
7<code php><?php
8if (file_exists(DOKU_PLUGIN.'googleads/code.php')) include_once(DOKU_PLUGIN.'googleads/code.php');
9if (function_exists('gads_code')) gads_code('ads_tpl_top_linklist','100% left');
10?></code>
11This will include 'googleads:ads_tpl_top_linklist' in your site.
12
13Maybe you want to test this line below the code above.
14
15<code php><div class="clearer">&nbsp;</div></code>
16
17Please also try to use the following to let google select the right content for ADS:
18
19<code><!-- google_ads_section_start -->
20some content for your ADS
21<!-- google_ads_section_end --></code>
22
23**Note**: Inserting the code above is optional and only needed if you want to include Google Adsense in templates areas..
24
25Wiki Syntax: %%{{googleads>WIKISITE | [options]}}%%
26
27Options may be: WIDTH and or direction like LEFT and RIGHT e.g. %%{{googleads>ads_under_sidebar_left|40% left}}%%
28
29Please set the following options...
30
31