Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

How to I add a link To the end of every post??


  #1  
Old Feb 25, 2010, 11:36 AM
baronsamedi
 
13 posts · Feb 2010
How to I add a link To the end of every post??

Looking for a way to add a like to the end of every single post? Cant file a file like single.php...
  #2  
Old Feb 25, 2010, 12:27 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
why not put it in the post footer ATO->Edit POST/PAGE INFO ITEMS->FOOTER:xxxxx
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 25, 2010, 12:41 PM
baronsamedi
 
13 posts · Feb 2010
im lookin to put it at the end of the body... adsense code and a link
  #4  
Old Feb 25, 2010, 12:52 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you could add code in ATO->Style & edit CENTER COLUMN->The LOOP
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 25, 2010, 01:07 PM
baronsamedi
 
13 posts · Feb 2010
k i noticed that but i cant get it to not show on the main page...

Code:
<?php
add_filter('the_content', 'my_extra_content', 1);
function my_extra_content($text) {
	return $text . "\n<p><a href=\"http://www.******.com/how-to-download/\">HOW TO DOWNLOAD</a> </p>\n
<p>[ad#Adsense468x15link4]</p>\n";
}
?>
I added that code and it appears on the main page i only want it on single pages,,
  #6  
Old Feb 25, 2010, 01:25 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
so use an 'if is_single() { your code here }

http://codex.wordpress.org/Conditional_Tags
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a link to %meta%? michelleflores Forum How-To 1 Sep 17, 2009 04:23 PM
[SOLVED] Looking to add sign-in link in the header mcgiver058 Header configuration & styling 6 Aug 20, 2009 08:11 PM
Getting rid of tags at end of posts? faigekobre Post-Kicker, -Byline & -Footer 6 Jul 9, 2009 03:10 PM
Pictures get cut off at end of text MustacheGlory Atahualpa 3 Wordpress theme 0 Mar 24, 2009 09:37 AM
Post / Page Info Items - Button crashes comp, how do I add to post-footer? Image help everygirlssecret Post-Kicker, -Byline & -Footer 1 Jan 5, 2009 01:12 PM


All times are GMT -6. The time now is 05:56 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.