• Resolved Hagelslag

    (@hagelslag)


    Hi,

    First of all, the Custom Facebook Feed is a great plug-in.

    I am, however, having a bit of an issue with the custom Javascript (under the Misc tab). I’ve copy/pasted the Javascript for the basic slideshow (taken from the plug-in’s FAQ), and I’ve added the corresponding class=’slideshow’ to the shortcode in my PHP file:

    <?php echo do_shortcode(‘[custom-facebook-feed class=”slideshow” num=4]’); ?>

    But nothing happens, i.e. the JavaScript does not execute; instead the Facebook feed is displayed as it always was, i.e. without a slideshow.

    In fact, when I replace the JavaScript code for the slideshow by the single statement:

    alert(‘Hello’);

    the alert does NOT appear upon loading the page, so it appears that the custom JavaScript is simply always ignored. (And yes, I do press the Save button).

    I’m aware that the problem may well be of my own doing, but I’ve no idea what I could be doing wrong…

    Thanks for any and all replies!

    Best regards from Holland,
    Hagelslag.

    https://www.ads-software.com/plugins/custom-facebook-feed/

Viewing 1 replies (of 1 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hey Hagelslag,

    It sounds like the plugin’s JavaScript file may not be being included in your page. Could you try #2 in this FAQ and let me know whether it resolves the issue for you?

    If it doesn’t then check whether your page has any JavaScript errors on it which might be preventing the JavaScript from working.

    Let me know whether that resolves the issue for you, and I hope you’re having a good weekend!

    John

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Javascript does not execute’ is closed to new replies.