Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 03-18-2009, 02:55 PM   #1
HyperActive Warrior
 
kimkitch's Avatar
 
Join Date: Jan 2008
Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default How do i place Adsense blocks at the end of my blog posts.

I am currently using the Max Banner Ads plugin on Wordpres to place my adsense ads onto my blog but have come across a problem. I want to place an adsense block that is at the bottom of any post i make. At the moment i can place a block at the top of my page another one at the bottom of the page but cannot seem to find a way to put one at the bottom of the first post on the page. Can this be done and if so is there a better plugin that i can use.

Regards

Kim

"Backlink Builder" the diverse link building strategy Try a FREE DEMO today No E-Mail address required
kimkitch is offline   Reply With Quote
Old 03-18-2009, 03:50 PM   #2
Banned
 
Join Date: Mar 2009
Posts: 154
Blog Entries: 2
Thanks: 31
Thanked 25 Times in 12 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: How do i place Adsense blocks at the end of my blog posts.

Depending on version of WP you are running use a text widget and paste the code right into the text widget then move the widget into the proper area afte content....

This is how I do it at my WP blog (see my signature)

Gavin
GavinLively is offline   Reply With Quote
Old 03-19-2009, 04:27 AM   #3
Minisite Designer
War Room Member
 
lianwei's Avatar
 
Join Date: Sep 2008
Location: Singapore
Posts: 606
Thanks: 0
Thanked 60 Times in 33 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via MSN to lianwei Send a message via Yahoo to lianwei Send a message via Skype™ to lianwei
Default Re: How do i place Adsense blocks at the end of my blog posts.

Go to Single.php and edit it.

Add the adsense code to the Single Post. Simple !

lianwei is offline   Reply With Quote
Old 03-22-2009, 11:51 AM   #4
HyperActive Warrior
 
kimkitch's Avatar
 
Join Date: Jan 2008
Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: How do i place Adsense blocks at the end of my blog posts.

Can you please tell me where i might find the single.php file

"Backlink Builder" the diverse link building strategy Try a FREE DEMO today No E-Mail address required
kimkitch is offline   Reply With Quote
Old 03-22-2009, 06:12 PM   #5
HyperActive Warrior
 
kimkitch's Avatar
 
Join Date: Jan 2008
Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: How do i place Adsense blocks at the end of my blog posts.

Quote:
Originally Posted by BillyD View Post
Hello Kim,

Log into your worpress blog click on "Design" then click "Theme Editor" it brings up your "Stylesheet" (style.css) over to the right you will see "Theme Files" and then under that it says "templates" then "single post" which is the "Single.php" file. Just click on the "Single Post" and it will bring up the file to edit.

Hope this helps

Nicole Davis
Thanks for pointing that out to me
I enclose a copy of the single.php file below.

<?php get_header(); ?>
<?php $options = get_option('inove_options'); ?>

<?php if (have_posts()) : the_post(); update_post_caches($posts); ?>

<div id="postpath">
<a title="<?php _e('Goto homepage', 'inove'); ?>" href="<?php echo get_settings('home'); ?>/"><?php _e('Home', 'inove'); ?></a>
&gt; <?php the_category(', '); ?>
&gt; <?php the_title(); ?>
</div>

<div class="post" id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<div class="info">
<span class="date"><?php the_time(__('F jS, Y', 'inove')) ?></span>
<div class="act">
<?php if ($comments || comments_open()) : ?>
<span class="comments"><a href="#comments"><?php _e('Goto comments', 'inove'); ?></a></span>
<span class="addcomment"><a href="#respond"><?php _e('Leave a comment', 'inove'); ?></a></span>
<?php endif; ?>
<?php edit_post_link(__('Edit', 'inove'), '<span class="editpost">', '</span>'); ?>
<div class="fixed"></div>
</div>
<div class="fixed"></div>
</div>
<div class="content">
<?php the_content(); ?>
<p class="under">
<?php if ($options['author']) : ?><span class="author"><?php the_author_posts_link(); ?></span><?php endif; ?>
<?php if ($options['categories']) : ?><span class="categories"><?php the_category(', '); ?></span><?php endif; ?>
<?php if ($options['tags']) : ?><span class="tags"><?php the_tags('', ', ', ''); ?></span><?php endif; ?>
</p>
<div class="fixed"></div>
</div>
</div>

<?php else : ?>
<div class="errorbox">
<?php _e('Sorry, no posts matched your criteria.', 'inove'); ?>
</div>
<?php endif; ?>

<!-- related posts START -->
<?php
// when related posts with title
if(function_exists('wp23_related_posts')) {
echo '<div id="related_posts">';
wp23_related_posts();
echo '</div>';
echo '<div class="fixed"></div>';
}
/*
// when related posts without title
if(function_exists('wp23_related_posts')) {
echo '<div class="boxcaption">';
echo '<h3>Related Posts</h3>';
echo '</div>';
echo '<div id="related_posts" class="box">';
wp23_related_posts();
echo '</div>';
echo '<div class="fixed"></div>';
}
*/
?>
<!-- related posts END -->

<?php include('templates/comments.php'); ?>

<div id="postnavi">
<span class="prev"><?php next_post_link('%link') ?></span>
<span class="next"><?php previous_post_link('%link') ?></span>
<div class="fixed"></div>
</div>

<?php get_footer(); ?>

Can you let me know where exactly i place my adsense code

Thanks

Kim

"Backlink Builder" the diverse link building strategy Try a FREE DEMO today No E-Mail address required
kimkitch is offline   Reply With Quote
Old 03-27-2009, 03:15 PM   #6
HyperActive Warrior
 
kimkitch's Avatar
 
Join Date: Jan 2008
Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: How do i place Adsense blocks at the end of my blog posts.

Quote:
Originally Posted by BillyD View Post
Kim,

You can follow these steps below to insert your adsense code Within the theme editor window, scroll down to where it says <div class="entrytext"> on my wp blog it shows up as <div class="entry">

Directly below <div class="entrytext"> add your AdSense code

Click the Update file button and go view your site!
You can surround the code with <div></div> tags. This will allow us to position the advertisment where we want it.

This example below is for left side placement, If you want the ad to float right, change float:left to float:right. If you don't want to position the code left or right just surround your code with the <div></div> tags

<div style="float:left; padding-top:20px; padding-right:10px;"><script type="text/javascript"><!–
google_ad_client = "pub-1234567890";
google_ad_slot = "1234567890";
google_ad_width = 336;
google_ad_height = 280;
//–>
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>

Hope this helps, let me know

Thanks,
Nicole
Nicole

Sorry if i am sounding a bit thick but i am still confused. You say to scroll down to where it says <div class="entrytext"> and add the adsense code underneath. In my single.php file i cannot see the text that you say to look for, so am i looking in the wrong file.

Regards

Kim

"Backlink Builder" the diverse link building strategy Try a FREE DEMO today No E-Mail address required
kimkitch is offline   Reply With Quote
Old 03-27-2009, 04:06 PM   #7
Active Warrior
War Room Member
 
BeauPenaranda's Avatar
 
Join Date: Dec 2008
Location: Vegas
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Contact Info
Send a message via Skype™ to BeauPenaranda
Default Re: How do i place Adsense blocks at the end of my blog posts.

Quote:
Originally Posted by kimkitch View Post
I am currently using the Max Banner Ads plugin on Wordpres to place my adsense ads onto my blog but have come across a problem. I want to place an adsense block that is at the bottom of any post i make. At the moment i can place a block at the top of my page another one at the bottom of the page but cannot seem to find a way to put one at the bottom of the first post on the page. Can this be done and if so is there a better plugin that i can use.

Regards

Kim
Kim,

You can just look for another plugin. As you get more familiar with Wordpress, placing code in files will become second nature. If you don't quite understand it yet, I would suggest getting another adsense plugin at wordpress.org.

An easy plugin that can do this is called "easy adsenser".
BeauPenaranda is offline   Reply With Quote
Old 03-28-2009, 03:31 PM   #8
Active Warrior
 
ShabirAli's Avatar
 
Join Date: Nov 2008
Posts: 47
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: How do i place Adsense blocks at the end of my blog posts.

I think you can open , index.php of theme file in notepad and place code below blog post functions. This will be the best trick.
ShabirAli is offline   Reply With Quote
Old 03-29-2009, 04:51 AM   #9
HyperActive Warrior
 
kimkitch's Avatar
 
Join Date: Jan 2008
Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: How do i place Adsense blocks at the end of my blog posts.

Quote:
Originally Posted by BeauPenaranda View Post
Kim,

You can just look for another plugin. As you get more familiar with Wordpress, placing code in files will become second nature. If you don't quite understand it yet, I would suggest getting another adsense plugin at wordpress.org.

An easy plugin that can do this is called "easy adsenser".
I am now using an adsense plugin which i am finding a lot easier to work with, thanks for the advice.

"Backlink Builder" the diverse link building strategy Try a FREE DEMO today No E-Mail address required
kimkitch is offline   Reply With Quote
Old 03-30-2009, 02:25 AM   #10
Warrior Member
 
Join Date: Mar 2009
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How do i place Adsense blocks at the end of my blog posts.

Yea, no need to try and come up with a solution on your own or custom code anything. There are a ton of different WP Adsense plugins that you can use and play around with.

Try out our tools for finding great domain names at http://www.domainsuperstar.com
joeljonathan is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
adsense, blocks, blog, end, place, posts

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 06:34 PM.