Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Graham KiteCourses Plus Student 8,123 Points
wordpress plugin not finding css and js scripts
I have a wordpress plugin that has bee written into a wordpress theme.
I have separated the code, activated and changed the path where I can.
The problem I am still having is:
There are a lot of calls like this: [quote] echo bloginfo('template_url'); echo "/wtf/player/player.swf','ply','"; [/quote}
These needs to point to the correct folder in the plugin directory. They are in the root directory and not in the "/wtf" directory in the root directory.
I have tried everything I can think of including enqueueing and also @import to bring in the css, but it is not coming in complete and the js and players are not coming in at all.
Can anyone make some suggestions how I may solve this issue?