• Hi,
    Am using the WP Offload S3 plugin and not able to offload the CSS and JS files within the themes folder.
    Am trying to use wp_enqueue_style() like below in wp-content/themes/spark/functions.php

    wp_enqueue_style( 'validationEngine.jquery', get_template_directory_uri() . '/assets/css/validationEngine.jquery.css', array(), false, 'screen' );
        wp_enqueue_style( 'main', get_template_directory_uri() . '/assets/css/main.css', array(), false, 'screen' );

    Am not able to offload the files.
    Please let me know what am I missing here.

    Regards, AG

  • The topic ‘How to offload CSS and JS files from wp-content/themes folder?’ is closed to new replies.