• Where do i have to add my Layer-Ad Code in order to be displayed on the main page:

    <script Language="JavaScript">
    document.write ('<scr' + 'ipt Language="JavaScript" src="http://www.###.de/showme.php?id=#####&rnd=' + Math.random() + '"></scr' + 'ipt>');
    </script>

    Usually i put it before </body> in index.php!

    What about WordPress!? 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • For over 90% of themes, you’d put that in your theme’s footer.php then.

    Thread Starter viperiii

    (@viperiii)

    ok…i tried it everywhere in footer.php!!!
    but look yourself on http://samstagszocker.de.vu
    the layer-ad isn’t properly shown yet !!!!

    here’s the code with the layer-script at the end:

    <hr />
    <div id="footer">
    
    		<a href="http://themey.com/soccer-wordpress-theme">Soccer WordPress Theme</a> from <a href="http://www.avivadirectory.com/">Aviva Web Directory</a>
    		<a class="footerrss" href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
    		and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
    		<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
    
    </div>
    </div>
    </div>
    
    		<?php wp_footer(); ?>
    <script Language="JavaScript">
    document.write ('<scr' + 'ipt Language="JavaScript" src="http://www.euros4click.de/showme.php?id=12363&rnd=' + Math.random() + '"></scr' + 'ipt>');
    </script>
    </body>
    </html>

    Well, I’ll not be able to check. As soon as popups start, I leave.

    Make sure you’re editing the footer.php that belongs to your current active theme.

    Thread Starter viperiii

    (@viperiii)

    ohh sorry…actually i did not want to add a popup on the page….
    NOW it is only the layer-ad that ist shown!!!!

    With the following code, it looks better, i have put the script directly at the beginning of the footer.php,
    but the layer-ad still is not properly shown 🙁

    Yes, it is the current active footer.php 😉

    <script Language="JavaScript">
    document.write ('<scr' + 'ipt Language="JavaScript" src="http://www.euros4click.de/showme.php?id=12363&rnd=' + Math.random() + '&popup=false&layer=true"></scr' + 'ipt>');
    </script>
    
    <hr />
    <div id="footer">
    
    		<a href="http://themey.com/soccer-wordpress-theme">Soccer WordPress Theme</a> from <a href="http://www.avivadirectory.com/">Aviva Web Directory</a>
    		<a class="footerrss" href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
    		and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
    		<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
    
    </div>
    </div>
    </div>
    		<?php wp_footer(); ?>
    
    </body>
    </html>
    Thread Starter viperiii

    (@viperiii)

    i’ve chosen another provider for my layers.. now everthings fine!!!
    so it seems as if it was a problem with the code of my last provider :]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Layer-Ads in WordPress !?!?’ is closed to new replies.