Support » Plugin: Feed Them Social - for Twitter feed, Youtube, Pinterest and more » TypeError: e.masonry is not a function

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author slickremix


    Thanks for contacting us. I would be glad to help out, can you please include these 3 things?

    1. The shortcode you are trying to use.
    2. An example link to the problem in question.
    3. The report from the System Info page of our plugin. Click here if you are unsure how to do this.

    Hi, I already solved. It was me.

    On my theme I deregistered jquery, renamed jquery_js to load v3, and deferred it. I kept v3 but renamed jquery as default and loaded without deferring it.

    Though, in next versions, I think you could maybe add an option to defer your scripts too. Nowadays performance is really important. Or, if you’re naming/registering your scripts the standard way, you could add some docs to report their names and to show how to defer them. Something like:

    if(!is_admin()) add_filter( 'script_loader_tag', 'wsds_defer_scripts', 10, 3 );
    function wsds_defer_scripts( $tag, $handle, $src ) {
      $defer_scripts = array(
      if(in_array($handle, $defer_scripts)){ return '<script src="' . $src . '" defer="defer" type="text/javascript"></script>' . "\n"; }
      return $tag;
    Plugin Author slickremix


    Thanks for all the info. We will keep this in mind for a future update. Have a great rest of the week.


    • This reply was modified 1 year ago by slickremix.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TypeError: e.masonry is not a function’ is closed to new replies.