• Hello
    A suggested by google, .js files must not rendering block.
    Thus it is better to put js in footer instead of header.
    Thus is the plugin just change
    wp_register_script(‘rich-reviews’, $pluginDirectory . ‘js/rich-reviews.js’, array(‘jquery’));
    by
    wp_register_script(‘rich-reviews’, $pluginDirectory . ‘js/rich-reviews.js’, array(‘jquery’), null, true);
    This is a suggestion to improve the plugin…
    best regards

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

    (@thefiddler)

    Thanks for this suggestion. Seems simple enough. I’ll run it by the developers. If it’s really that simple, we’ll add it in a near-future release.

    Thanks for pointing this out.

Viewing 1 replies (of 1 total)
  • The topic ‘Place the js script in footer to avoid rendering’ is closed to new replies.