Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

jerryskate on "link javascript and css correct."

$
0
0

Hi!

Ive been trying to add some javascript and a css-sheet that i at the moment have hardcoded in the header. Something is wrong with my plugin that calls the query twice, or something like this, and i hope correct linking will solve it. Ive tried a bunch of guides to use Enqueue functions, but haven't had any luck, so I'm turning here to see if anyone could give me a idiot-proof way to do it.

The code I'm using at the moment in the header:

<link rel="stylesheet" type="text/css" href="/wp-content/themes/neighborhood/js/jquery.fullPage.css" />

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>    

<!-- This following line needed in the case of setting the plugin option <code>scrollOverflow</code> to <code>true</code> -->
<script type="text/javascript" src="/wp-content/themes/neighborhood/js/vendors/jquery.slimscroll.min.js"></script>

<script type="text/javascript" src="/wp-content/themes/neighborhood/js/jquery.fullPage.js"></script>

Viewing all articles
Browse latest Browse all 8245

Trending Articles