Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Adding echo content next to the post title (http://forum.bytesforall.com/showthread.php?t=6900)

emanuel1969 Apr 27, 2010 03:11 PM

Adding echo content next to the post title
 
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

lmilesw Apr 27, 2010 03:27 PM

Have you tried any of the FB like button plugins?

emanuel1969 Apr 27, 2010 04:54 PM

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.

juggledad Apr 27, 2010 05:10 PM

try adding it changing line 66
<?php echo $after;
to
<?php echo get_sfc_like_button(); echo $after;

emanuel1969 Apr 27, 2010 06:48 PM

Didn't work. It still puts it below the title.


All times are GMT -6. The time now is 09:33 AM.

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