WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. sarahkim
    Member
    Posted 1 year 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

    http://wordpress.org/extend/plugins/fbf-facebook-page-feed-widget/

  2. lakshmananphp
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    thank you very much!
    it works well!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic