Skip to content
This repository was archived by the owner on Oct 23, 2021. It is now read-only.

Conversation

@jezzdk
Copy link

@jezzdk jezzdk commented Nov 26, 2014

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

@louy
Copy link

louy commented Apr 22, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants