If you upgraded from 0.25 to 1.1 or something like that, you will need to go to the SFC Settings and enable the Like module and similar. It’s not separate plugins anymore.
Hi, The Like Button Sub-plugin is already enable but the button still not appear in the home page (landing page) anyway.
I also try this follow code that I got from internet, the tweet button for STC is work fine but the Facebook like button no show anyway.
Any other possible solution, please recommend
<?php if(function_exists(‘sfc_like_button’)) : ?>
<div class=”fbConnect”>
<?php sfc_like_button(array(‘layout’ => ‘button_count’)); ?>
</div>
<?php endif; ?>
<?php if(function_exists(‘stc_tweetbutton’)) : ?>
<div class=”twitConnect”>
<?php stc_tweetbutton(); ?>
</div>
<?php endif; ?>
<div class=”clear”></div>
You have something putting the FB Share button on the page. The Share button code is incompatible with FB’s newer code (which SFC uses) and is not supported by Facebook any longer. Remove the share button.
I’d already remove FB Share button from single.php
and replace with
<?php if(function_exists('sfc_like_button')) : ?>
<div class="fbConnect">
<?php sfc_like_button(); ?>
</div>
<?php endif; ?>
<?php if(function_exists('stc_tweetbutton')) : ?>
<div class="twitConnect">
<?php stc_tweetbutton(); ?>
</div>
The like button still not appear in each post page and also not appeear in home page (landing page)
Please recommend further correction, thank you very much (from Thailand)
Okay, now the code you have for the Fan Box in the text widget is interfering. Use the SFC Fan Box widget instead of that code you have in the text widget.
Thank you very much for your patience, the problem solved ^^
I will send you some beer.
PS. last short question, can u suggest how to modify my code to make SFC like button and STC twitter button stay next to each other on the same line. The current code I use make 2 buttons stay on different line and look not nice.
That’s a CSS issue, and CSS issues are hard to solve without seeing the actual page. Can you post a link to the page where they don’t line up?
.fbConnect, .twitConnect {
float:left;
}
You may also want to reduce the width of the like button. It defaults to 450.
The way to do that would be like this:
<?php sfc_like_button(array('width'=>225)); ?>
Change the number as needed.
I try to blend your code with my current code in different way but stil not work can u please help suggest, thank you
.fbConnect, .twitConnect {
float:left;
}
PS. my current SFC & STC code
`<?php if(function_exists(‘sfc_like_button’)) : ?>
<div class=”fbConnect”>
<?php sfc_like_button(); ?>
</div>
<?php endif; ?>
<?php if(function_exists(‘stc_tweetbutton’)) : ?>
<div class=”twitConnect”>
<?php stc_tweetbutton(); ?>
</div>`
You would put that code I gave you in your theme’s stylesheet. It needs no “blending”.