Support » Plugins » CG-Inbetween question

  • I am having some problems getting the Inbetween plugin to work. I installed the plugin, entered the Adsense code in Echo field(is that the right field?), added <?php do_action('wp_footer'); ?> in the bottom of the index page. I noticed in the Echo Function File, there are / added to the Adsense code. Any ideas what I am doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Two things:

    1. The Echo mode is best suited for simple HTML or static text. For adsense I always recommend just put the entire adsense block in a file (like ‘adsense.htm’), and then use the File include mode to include the file.

    2. Make sure that you’ve added the inbetween template tag into your theme as the readme specifies:
    <?php inbetweenPosts(); ?>
    … needs to go inside the end of the post loop, as noted generally best after the closing div of the class=post div of the theme. (This is manually-done as people might want the output ‘position’ more customized to the theme, wrappered, etc., so trying to auto-insert wasn’t a good approach..)


    Thank you David. That worked!

    Glad to help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CG-Inbetween question’ is closed to new replies.