facebook-feed

The Facebook Feed facebook feed shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[facebook-feed]'); 
  1. // variable usage 
  2. $result = do_shortcode('[facebook-feed]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/facebook-feed-shortcode.php  
  1.  
  2. return $authortext;  
  3.  
  4. //add easy facebook feed shortcode 
  5. add_shortcode('facebook-feed', 'wff_shortcode_display'); 
  6.  
  7. function wff_shortcode_display ($atts) { 
  8.  
  9. if(!function_exists('wff_custom_js_code')) { 
  10. add_action( 'wp_footer', 'wff_custom_js_code' );