• i am trying to add a <?php inbetweenPosts(); ?> to my index.php so i can show adsense between selected posts. te instructions say to activate the plugin and then post <?php inbetweenPosts(); ?> in the closing </div> of <div class= “posts”> But there is no such div class. here is my template. please help:

    [moderated – please place your code at https://wordpress.pastebin.ca/ and report the link back here]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can post your code at pastebin and link it here again since the your post has been moderated.

    Normally, <div class="post"> can be found inside index.php in your active theme folder, depending on which theme you are using. Yet, it can be varies with the theme.

    Thread Starter rgordon83

    (@rgordon83)

    i am using regulus thme and i don’t see that in my index. i even did control F to be sure.
    The reason i need to find it is b/c i have too paste some code before the closing </div> tag of that div class “posts” for the CG Inbetween plugin in order to show adsense after selected posts. Does anyone know an alternative place to place it in the regulus theme? or maybe another method besides the CG Inbetween plugin. thanks!

    There MUST be some kind of div class that is around your Loop. It could be called anything… but for the sake of avoiding confusions like this, most theme authors name it “post”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘where is <div= “posts”> in index.php?’ is closed to new replies.