-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Description
Hi guys, I had a problem with loading scripts on localhost, and I modified the code a little then it works. I think I should let you know about my issue.
On the file CMB2_hookup.php
Changed the commented code to uncommented code.
//wp_register_style( 'cmb2-styles', cmb2_utils()->url( "css/cmb2{$min}.css" ), $styles );
wp_register_style( 'cmb2-styles',get_template_directory_uri()."/inc/cmb2/css/cmb2{$min}.css", $styles );
Before I making changes, scripts were loading like this
src="http://website.com/D:\workspace\projects\myproject\file.js"
Thanks
Metadata
Metadata
Assignees
Labels
No labels