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 »

Adding echo content next to the post title


  #1  
Old Apr 27, 2010, 03:11 PM
emanuel1969's Avatar
emanuel1969
 
133 posts · Apr 2010
California
Send a message via Skype™ to emanuel1969
Hi. I am trying to add a facebook "like button" immediately to the right of the post title. The way I am trying to do it is not working. I am trying to edit the bfa_post_parts.php file by inserting the following echo function in the appropriate place:

echo get_sfc_like_button();

But I can't seem to find the right place. Either the like button appears below the post title or it does not appear at all (or it screws up completely in which case I re-upload the original file).

Can you tell me where to put the echo or else tell me if there is an easier way to do what I am trying to do?

Thanks!
Emanuel

Last edited by emanuel1969; Apr 27, 2010 at 04:55 PM.
  #2  
Old Apr 27, 2010, 03:27 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Have you tried any of the FB like button plugins?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 27, 2010, 04:54 PM
emanuel1969's Avatar
emanuel1969
 
133 posts · Apr 2010
California
Send a message via Skype™ to emanuel1969
Yes I am using one I like very much. It even has short code to insert the button into the post. The problem is I am trying to get it to appear just to the right of the post title, and so I need to edit the theme to do that.
  #4  
Old Apr 27, 2010, 05:10 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try adding it changing line 66
<?php echo $after;
to
<?php echo get_sfc_like_button(); echo $after;
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Apr 27, 2010, 06:48 PM
emanuel1969's Avatar
emanuel1969
 
133 posts · Apr 2010
California
Send a message via Skype™ to emanuel1969
Didn't work. It still puts it below the title.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding AdSense to content Jerry Atahualpa 3 Wordpress theme 51 Jun 10, 2010 05:48 AM
Post Title is truncated and will not display full post title ruddcl Center area post/pages 1 Mar 9, 2010 04:54 AM
Adding Content to 'Bars'? DannyLife Header configuration & styling 1 Jan 23, 2010 07:06 AM
Adding php or function inside content Miak Post-Kicker, -Byline & -Footer 0 Sep 7, 2009 06:50 AM
Adding Adsense to Kicker and Content adum Post-Kicker, -Byline & -Footer 2 Jun 22, 2009 09:29 AM


All times are GMT -6. The time now is 12:01 AM.


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