Support » Plugin: ZipList Recipe Plugin » load scripts only if shortcode is used

  • Hi

    your plugin is loading all scripts sitewide
    this is a pain
    and it is loading the css after js and this is the biggest pain (google page speed and my user don’t like this 🙂 )

    I would like to load scripts only if they are needed.

    The scripts of this plugin are only needed if there is the shortcode in a post

    But I can’t find wp_enqueue_scripts or wp_print_styles in your plugins file. => this is WP coding standard

    So I ask how can I load the scripts of this plugin only if the shortcode is used? [I can do this for many plugins]

  • The topic ‘load scripts only if shortcode is used’ is closed to new replies.