mboynes / super-cpt

**DEPRECATED.** Left public for posterity.
223 stars 49 forks source link

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

Open jezzdk opened 9 years ago

jezzdk commented 9 years ago

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

louy commented 9 years ago

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/' );