WordPress.org

Support

Support » Plugins and Hacks » Kontera plugin didnt work

Kontera plugin didnt work

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could just add it to your theme directly. Fairly easy.

    Alternatively, it depends on how you want to insert them. Something like my CG-Inbetween plugin will let you, for instance, include an HTML file (which could contain javascript for Kontera, or Adsense, or…), at a given interval — say, after the first post on each page, or at the end of each page, etc. It requires a one-line insertion into your theme.

    But if you just say want your Kontera ad block at the top of each page, you should ‘build it into the theme’ directly. header.php is a possible location to look at (as index.php might be overridden in a given theme by single.php or others, in which case you’d be modding multiple files…).

    -d

    The problem is your Theme (MW.) The Theme you are using does not contain a call to the wp_footer API hook.

    This plugin utilizes the wp_footer API hook to add the Javascript into the footer. If the API hook call is missing nothing will be added to the page’s footer by the plugin.

    To fix this all you need to do is add the following code to the footer.php file before the <body> tag:<?php do_action('wp_footer'); ?>

    To ensure that compatibility is maximized it is best to make sure the wp_footer API is not wrapped by <div> tags.

    Also make sure both check boxes under “Enable DynamicContext” on the options screen are checked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Kontera plugin didnt work’ is closed to new replies.
Skip to toolbar