super-cpt icon indicating copy to clipboard operation
super-cpt copied to clipboard

Added ability to turn on 'THEME MODE', to set correct URLs for assets.

Open jezzdk opened this issue 10 years ago • 1 comments

I noticed an error in my console, because the default URL for css and js is the plugin URI.

jezzdk avatar Nov 26 '14 13:11 jezzdk

You could simply add this line to your functions.php and the issue is solved. That's the idea behind the constant SCPT_PLUGIN_URL actually.

define( 'SCPT_PLUGIN_URL', get_template_directory_uri() . '/super-cpt/' );

louy avatar Apr 22 '15 14:04 louy