Archive for the ‘ Adsense ’ Category

How to show adsense in wordpress.

We can earn money from variuos ways,google adsense is one of them most bloger can place add on blogspot and it is very easy but it is not so easy to place adsense on wordpress so my today’s tutorial how to add adsense on wordpress we can  place our ads in different positions, one place is the right after the first post on the homepage.To place a banner or an adsense ad right after the first post follow these steps.
# Open your index.php or home.php based on your WP Theme
# Look for these lines of code

<?php if (have_posts())

Before that add these lines of code

<?php $count = 1; ?>

Next find, this line

    <?php the_content() ?>

    After that line, add these lines of code

    <?php if ($count == 1) : ?>
    //The code from adsense is now place here
    <?php endif; $count++; ?>

    You can also change the count value in Step 3 and 5, to 2 if you want to have the ad after the 2nd post. dpress


    The adsense will show like that….


    How to Show add from google adsense to website

    At First you have Sign up Google Adsense from


    or If you are already have an account then no need to signup just sign in by your account.

    After Login then you7 will get a page like this…………


    then you have to click on adesnse setup………..

    adsense setup

    Then you have choose a add content  normally  we choose adsense for content…. so just click on the blue link AdSense for content. then you will get like this…………….


    From Here you can choose Ad style which type of add do you want to add to your site then you need to click next………………or continue

    Then same procedure just choosing option only you need to choose and click next / continue option.. finally you will get a code like this……………


    then you need to copy the code and paste the code to your website where you want to show add just like this you can show add from google adsense.