• hi guys, i wish someone could help me with adsense. I saw in another blog that when you open a post an ads by google will show first before the content of the post.

    I’ve searched on the pluggins directory but had some difficulties finding it. I hope someone can help me. I’d like to start monetizing my blog since I was already approved by Adsense.

    This is the blog that I’m talking about, LINK

    appreciate all the help I can get.

    By the way my blog is https://www.blogadeur.com

    thanks,

Viewing 11 replies - 1 through 11 (of 11 total)
  • Edit your single.php file in your theme to include the code where you would like it to be displayed.

    Thread Starter blogadeur

    (@blogadeur)

    oops, the link has bidvertiser ads but i think its the same as adsense right?

    Thread Starter blogadeur

    (@blogadeur)

    hi jeremyclark13, I dont have the code yet. Where can I find it? thanks.

    you have to get the adsense code from google.

    you could always copy adsense code and save as adsense.php, upload to your site, then just insert: include(‘adsense.php’)in all the index.php files, remeber to direct each one to where you uploaded the file

    It’s probably a plug-in called AdMan. If you really have to know exactly which plug-in, then just write to him/her politely and ask.

    Thread Starter blogadeur

    (@blogadeur)

    hi macsoft3, that’s what I did. I ask the members here politely. I don’t think you have to remind me to be polite because I am. I’m matured enough to know what is right or wrong. I’m sorry guys, but I am just offended.

    Hi jeremyclark13, yes Ma’am I do have the adsense code.

    Hi Savvy1405, I’m not php literate but i have an idea about php. If kindly show me a sample and how to do it, I think I can do do that. ??

    Look for this line in your template single.php file:

    <div id=”wp_content”>

    After that paste your adsense code in. That will make it show up on the single post view. You can also put it in your index.php file if you want it to show up on the front page.

    There isn’t a plugin that will handle this the way you want. The reason is that there’s no real plugin hooks to inject the code in that position of the template. Having such a hook would also require everyone update their templates.

    Thread Starter blogadeur

    (@blogadeur)

    Hi intoxination, I tried what you said but the Adsense code shows above the Post Title.

    Is there any way to show only the code after the Post title is clicked?

    Appreciate your help. thanks,

    Thread Starter blogadeur

    (@blogadeur)

    wheh! after trying & testing it with the blog at least I put the ads on each posts. thanks guys…

    Now, I’d like to put a code on the index page on the heading. please help. thnx.

    >that’s what I did. I ask the members here politely

    I meant the website administrator. Who else has the ultimate answer?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Adsense on every blog posts’ is closed to new replies.