public function shortcodeScripts() { parent::shortcodeScripts(); wp_register_script('vc_masonry', vc_asset_url('lib/bower/masonry/dist/masonry.pkgd.min.js'), array('vc_grid-style-all'), WPB_VC_VERSION, true); wp_register_script('vc_grid-style-all-masonry', vc_asset_url('js/components/vc_grid_style_all_masonry.js'), array('vc_grid-style-all'), WPB_VC_VERSION, true); wp_register_script('vc_grid-style-lazy-masonry', vc_asset_url('js/components/vc_grid_style_lazy_masonry.js'), array('vc_grid-style-all'), WPB_VC_VERSION, true); wp_register_script('vc_grid-style-load-more-masonry', vc_asset_url('js/components/vc_grid_style_load_more_masonry.js'), array('vc_grid-style-all'), WPB_VC_VERSION, true); }
public function shortcodeScripts() { parent::shortcodeScripts(); wp_register_script('vc_masonry', vc_asset_url('lib/bower/masonry/dist/masonry.pkgd.min.js'), array(), WPB_VC_VERSION, true); }