Hi @lp-ben and @RueNel,
I have finally figured out why it was not loading the script when the global was turned off.
If you look at the plugin file - the-grid/frontend/the-grid-init.class.php
/**
* Enqueue scripts on front-end
* @since 1.0.0
*/
public function enqueue_scripts($options) {
global $post;
$global_library = get_option('the_grid_global_library', true);
if($global_library || ($post && has_shortcode($post->post_content, 'the_grid'))) {
$this->global_scripts();
$this->global_styles();
}
}
The plugin is looking for 'the_grid" shortcode when the global option is OFF. But the theme uses the shortcode 'cs_the_grid’
The plugin can’t find the shortcode and hence does not enqueue the required scripts when the global load if off.
SOLUTION:
Edit the file and change the string to ‘cs_the_grid’ instead of simply 'the_grid’
My grid is now displaying correctly with the global setting turned OFF. Maybe Themeco can make some changes to how it reads this for compatibility with the plugin.