FBF Facebook page Feed Widget
[resolved] display in template (3 posts)

  1. sarahkim
    Posted 3 years ago #

    thanks for the plugin
    it works perfectly in the widget but I want to display FB feed in my home-page template.
    Is there php code could you provide for me?

    Thank you


  2. lakshmananphp
    Plugin Author

    Posted 3 years ago #

    Hi Sarah,

    Thanks for your comments. You can use shortcodes.

    <?php echo do_shortcode('[fbf_page_feed pageID="33138223345" num="2" show_description="true" update="true" show_avatar="true" avatar_size="square" link_target_blank="true"]');
    // we are using shortcode function to render the widget
    // do_shortcode will convert that shortcode to output, and we echo the output.

    Hope this is what you are looking for!

    Thanks again!

  3. sarahkim
    Posted 3 years ago #

    thank you very much!
    it works well!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FBF Facebook page Feed Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic