![]() | | ||||||||
| | #1 |
| HyperActive Warrior Join Date: Jan 2008 Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 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
| |
| | |
| | #2 |
| Banned |
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 |
| | |
| | #3 |
| Minisite Designer War Room Member Join Date: Sep 2008 Location: Singapore
Posts: 606
Thanks: 0
Thanked 60 Times in 33 Posts
|
Go to Single.php and edit it. Add the adsense code to the Single Post. Simple ! |
| | |
| | |
| | #4 |
| HyperActive Warrior Join Date: Jan 2008 Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 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
| |
| | |
| | #5 | |
| HyperActive Warrior Join Date: Jan 2008 Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
| Quote:
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> > <?php the_category(', '); ?> > <?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
| ||
| | |
| | #6 | |
| HyperActive Warrior Join Date: Jan 2008 Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
| Quote:
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
| ||
| | |
| | #7 | |
| Active Warrior War Room Member Join Date: Dec 2008 Location: Vegas
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
| Quote:
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". | |
| | |
| | #8 |
| Active Warrior Join Date: Nov 2008
Posts: 47
Thanks: 0
Thanked 1 Time in 1 Post
|
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.
|
| | |
| | #9 | |
| HyperActive Warrior Join Date: Jan 2008 Location: United Kingdom.
Posts: 256
Thanks: 54
Thanked 7 Times in 7 Posts
| Quote:
| |
|
"Backlink Builder" the diverse link building strategy Try a FREE DEMO today No E-Mail address required
| ||
| | |
| | #10 |
| Warrior Member Join Date: Mar 2009
Posts: 15
Thanks: 0
Thanked 0 Times in 0 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 | |
| | |
![]() |
|
| Tags |
| adsense, blocks, blog, end, place, posts |
| Thread Tools | |
| |
![]() |