• Resolved Cassie396

    (@cassie396)


    Hello,

    I would like to use Simple Facebook Connect on my WordPress. I have it all installed and it works correctly when I’m using Twenty Eleven. Right now I’m just looking at the ‘Like’ button and count on posts – both the index and singles.

    However, I’ve been developing my own custom theme (one of my first) and I’m having trouble getting the buttons to show up. I

    I’ve tried these three pieces of PHP individually:

    <?php if (function_exists('sfc_like_button')) echo sfc_like_button(array('action'=>'recommend', 'layout'=>'button_count'));?>
    
    <?php if (function_exists('sfc_like_button')) echo sfc_like_button(array('layout'=>'button_count','showfaces'=>'false','width'=>'130','height'=>'25','action'=>'recommend','colorscheme'=>'light','font'=>'lucida+grande'));?>
    
    <?php if (function_exists('sfc_share_button')) echo sfc_share_button();?>

    But nothing shows up under the post content. But when I look at the source, it seems like the code is working:

    <fb:like href='http://www.ethereal-beauty.com/2011/10/sample-post-one/' send='false' layout='button_count' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like>
    
    <fb:like href='http://www.ethereal-beauty.com/2011/10/sample-post-one/' send='false' layout='button_count' show_faces='false' width='130' height='25' action='recommend' colorscheme='light' font='lucida+grande'></fb:like>

    But then nothing is showing up on the page… no buttons, count box or anything like on Twenty Eleven.

    Does anyone have any ideas as to why this might not be working? Any tips for integrating SFC into a custom-built theme?

    I’d really appreciate some help! SFC is an awesome plug-in! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using SFC With Custom Theme’ is closed to new replies.