• I would like to utilize this plugin to update our main Blog page with FB posts but can’t get it to work. I’ve added this code: <?php recent_facebook_posts(array(‘likes’ => 1, ‘excerpt_length => 140’)); ?>
    to the blog.php template but nothing shows up – it does work if I add to the standard page or post templates.

    https://www.ads-software.com/plugins/recent-facebook-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi there,

    Are you sure the blog.php file is used to the page you’re trying to show Facebook posts on? You can use a plugin like What The File to check which page template is used.

    Snackmaster, I have the same problem. I added the same code as you listed (from Danny’s FAQ) to index.php. It works, BUT unfortunately due to the layout of the theme, the Recent FB Posts gets rendered in two places on the page. I’m using a theme that has a widget manager, so the Recent FB Posts is positioned correctly within the widget, but also appears at the bottom of the main page, probably because that where I placed the code snippet.

    See it at https://mediaspin.com/ddt/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Post to main blog page?’ is closed to new replies.