Title: [Plugin: Facebook Like Button Plugin] facebook shortcode
Last modified: August 20, 2016

---

# [Plugin: Facebook Like Button Plugin] facebook shortcode

 *  Resolved [saxymamacreations](https://wordpress.org/support/users/saxymamacreations/)
 * (@saxymamacreations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/)
 * unable to get the facebook shortcode to load on my home page I follwed what the
   plugin said “If you would like to add a FaceBook button to your website, just
   copy and put this shortcode onto your post or page: [fb_button].”
    [http://www.saxymamacreations.com](http://www.saxymamacreations.com)
 * [http://wordpress.org/extend/plugins/facebook-button-plugin/](http://wordpress.org/extend/plugins/facebook-button-plugin/)

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

 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972289)
 * Hello,
 * Where exactly you have added the shortcode? It is intended for adding to the 
   page content only. Most likely that you’ve added it to the php template code.
 * In order to add in to the code, use strings below:
 * <?php if( function_exists( ‘fcbk_bttn_plgn_shortcode’ ) ) fcbk_bttn_plgn_shortcode();?
   >
 * Best regards,
    Oksana
 *  Thread Starter [saxymamacreations](https://wordpress.org/support/users/saxymamacreations/)
 * (@saxymamacreations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972312)
 * Hi,
    Thank you for responding. I’m using a storefront theme and I went into the
   storefront section and then into header and I used your code but it still didn’t
   work. Any suggestions? I have a shop and i’d like the facebook button to be on
   my main page.
 *  Thread Starter [saxymamacreations](https://wordpress.org/support/users/saxymamacreations/)
 * (@saxymamacreations)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972313)
 * Well I just did all the code by hand instead of using the widget, I think it’ll
   do for now. thanks anyway!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972318)
 * We are glad that the issue solved.
 * SIncerely,
    Oksana
 *  [Oleg](https://wordpress.org/support/users/olegapplaud/)
 * (@olegapplaud)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972357)
 * Hello!
    I’ll be glad if someone can help me sort out this problem. I’m trying
   to set this code
 * > <?php if( function_exists( ‘fcbk_bttn_plgn_shortcode’ ) ) fcbk_bttn_plgn_shortcode();?
   > >
 *  in …/…mytheme…/includes/gallery.php, but nothing happens at all!
 * Thank you!
 *  [Oleg](https://wordpress.org/support/users/olegapplaud/)
 * (@olegapplaud)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972358)
 * Isn’t there gonna be a parameter when calling the fcbk_bttn_plgn_shortcode() ?
   
   Thank you!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972365)
 * It is necessary to write in such a way:
 * <?php if( function_exists( ‘fcbk_bttn_plgn_shortcode’ ) ) echo fcbk_bttn_plgn_shortcode();?
   >
 * We are using echo option in order to output information.
 * Best regards,
    Oksana
 *  [littledove22](https://wordpress.org/support/users/littledove22/)
 * (@littledove22)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972366)
 * Neither of these work for me. This one (“<?php if( function_exists( ‘fcbk_bttn_plgn_shortcode’))
   echo fcbk_bttn_plgn_shortcode() ; ?>”)
 * produces this error (ON THE PAGE!!!) :
 * “Warning: Missing argument 1 for fcbk_bttn_plgn_shortcode(), called in /home/(
   site)/public_html/wp-content/themes/(theme)/header.php on line 74 and defined
   in /home/(site)/public_html/wp-content/plugins/facebook-button-plugin/facebook-
   button-plugin.php on line 484”
 * Who would put the error on the page instead of in the template! Wow I don’t like
   this plugin!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972367)
 * Hello,
 * please write echo fcbk_bttn_plgn_shortcode(“”) ;n instead of echo fcbk_bttn_plgn_shortcode();
 * Best regards!
 *  [robertlundell](https://wordpress.org/support/users/robertlundell/)
 * (@robertlundell)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972368)
 * My skillz in PHP is limited so I have no Idea what I supposed to do with the 
   PHP code. shouldn’t it be a function somewhere that are being called? So what
   exactly do I have to put in the header to get my own like button to be displayed?
 * Br
    Robert!
 *  [Oleg](https://wordpress.org/support/users/olegapplaud/)
 * (@olegapplaud)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972369)
 * Thank you a lot!
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972370)
 * Robert, it is necessary to write the following line in the required place of 
   the template (php file)
 * <?php if( function_exists( ‘fcbk_bttn_plgn_shortcode’ ) ) echo
    fcbk_bttn_plgn_shortcode(“”);?
   >
 * Or you can use shortcode in the content of the page – add to the editor; more
   detailes can be found on the page of the plugin settings – please select the 
   word “shortcode” in the block “Position”.
 * If the displaying after the content of the page will be selected, then the button
   should automatically appear in the selected place when the settings is saved.
 * Best regards!
 *  [Lesley2013](https://wordpress.org/support/users/lesley2013/)
 * (@lesley2013)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972385)
 * Hi,
    I’ve just installed this plugin… as the previous posters i’d like to use
   the php option as i want to place it on the right hand side of my menu bar.
 * i’m using twenty twelve dark theme and here is my [development site](http://fabcakes.com.au/dev)
 * Whereabouts in the header.php should i place this code?
 * Much appreciated.
 * Thank-you.
 *  [Lesley2013](https://wordpress.org/support/users/lesley2013/)
 * (@lesley2013)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972386)
 * nevermind, i have worked it out thank-you.

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

The topic ‘[Plugin: Facebook Like Button Plugin] facebook shortcode’ is closed to
new replies.

 * ![](https://ps.w.org/facebook-button-plugin/assets/icon-128x128.gif?rev=2598550)
 * [BestWebSoft's Like & Share - Posts, Pages and Widget Social Extension plugin for WordPress](https://wordpress.org/plugins/facebook-button-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-button-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-button-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-button-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-button-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-button-plugin/reviews/)

 * 14 replies
 * 6 participants
 * Last reply from: [Lesley2013](https://wordpress.org/support/users/lesley2013/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-facebook-like-button-plugin-facebook-shortcode/#post-2972386)
 * Status: resolved