Problem getting javascript matching columns to work
-
Hello folks,
I’ve made a wordpress theme by converting an xhtml design into php. Although my code is valid I’m having a problem getting the sidebar to display properly when used in wordpress.
You can see the results at this url: https://www.kidspartybags.biz/blog/
The sidebar should be red from top to bottom. This is normally achieved by using an external script, as can be seen working here: https://www.magicalwonders.com/testphp/
I’m not sure where to upload the script to in WordPress.I’m totally new to WordPress so have tried to find out how to apply javascript by looking at the Docs. I found a reference that gave an example path of <script type=”text/javascript” src=”/scripts/emailpage.js”></script>
The only problem being is that there is no directory called “scripts” on a wordpress installation!
I did find some scripts in “wp-includes/js” folder – so tried uploading my matching columns script by ftp to that location, but that doesn’t work either!
So the big question is, where do you include a javascript file on WordPress, and how do your reference it in the head area of the header file?
Hope someone can advise.
Many thanks,
Myles
- The topic ‘Problem getting javascript matching columns to work’ is closed to new replies.