Docs    Facebook    Troubleshooting

The Load More button isn’t working

There are a few reasons why this could be happening:

1) The plugin’s JavaScript file isn’t being included in your page.

If your WordPress theme is missing the WordPress wp_footer function from it’s footer.php file then your site isn’t able to load the JavaScript files from any of your plugins into the pages on your site. To check this just right click on your web page, select View Source and then look for whether the plugin’s JavaScript file is being included at the bottom of your website:

<script type='text/javascript' src='http://yourwebsite.com/wp-content/plugins/custom-facebook-feed-pro/js/cff-scripts.js'></script>

If it isn’t included, then you would need to add the following line to your theme’s footer.php file, immediately before the closing body tag.

<?php wp_footer(); ?>

2) There’s a JavaScript error on your site which is stopping the plugin’s JavaScript from running.

The easiest way to check this is to go to your web browser’s Developer Tools and then select the JavaScript Console. This should list any JavaScript errors on your site in red and also includes the source of the error. Sometimes you can fix JavaScript errors that are causing problems with the Facebook feed by going to WordPress Dashboard > Facebook Feed > Settings > Advanced, turning on the AJAX theme loading fix setting, and then clicking Save Changes.

3) A security plugin is blocking the plugin from loading the data

If you have a security plugin installed on your site then there’s a small chance that it may be causing the plugin to receive a 403 Forbidden Error when trying to load the PHP file it uses to retrieve the number of likes and comments from Facebook. This could be due to file permission settings that the security plugins is applying to certain directories or files on your site. Try temporarily disabling the security plugin to see whether this is the cause of the issue. If you are using WordFence Security, we have a guide with steps to resolve this issue here.

support

Couldn’t find your answer in the docs?

Contact Support

Was this article helpful?