CG-Inbetween question (4 posts)

  1. sfoasis
    Posted 10 years ago #

    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?

  2. davidchait
    Posted 10 years ago #

    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..)


  3. sfoasis
    Posted 10 years ago #

    Thank you David. That worked!

  4. davidchait
    Posted 10 years ago #

    Glad to help!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.