• Resolved Andrew Wilder

    (@eatingrules)


    Thanks for a terrific plugin!

    I just noticed, however, that the link to child-pages-shortcode.min.js file appears to be broken… on my sites I was seeing a 404 erorr.

    Lines 64-67:

    $js = apply_filters(
            "child-pages-shortcode-js",
            plugins_url("child-pages-shortcode.min.js", __FILE__)
        );

    I changed line 66 to this (added the “js/”) and it fixed it:

    plugins_url("js/child-pages-shortcode.min.js", __FILE__)

    (Also – is the javascript really necessary? I’d rather not load an extra script if I’m not really using it…?)

    Thanks,
    Andrew

    https://wordpress.org/plugins/child-pages-shortcode/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Getting a 404 for child-pages-shortcode.min.js’ is closed to new replies.