How to Add Jquery in WP
-
Hello All,
I’m new to developing and building new themes, trying to learn …
What I’m trying to do is to use below custom Login Page to word press
https://www.netdreams.co.uk/index.php/blog/2010/02/18/free-admin-skin-available-for-download/You can download the first Screen – DOWNLOAD CSS ??
I’m not trying to add this as a replacement to Admin Login page in WP, but as a completely new site.
On above website Screen 1 there is a login page and is using jquery to slide window to forget password part.
I’m trying to change theme already in word press but there are few thing which they don’t work.
One of the thing is [custom I think] jquery scripts which they are in head section of the login.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Internet Dreams</title> <link rel="stylesheet" href="css/screen.css" type="text/css" media="screen" title="default" /> <!-- jquery core --> <script src="js/jquery/jquery-1.4.1.min.js" type="text/javascript"></script> <!-- Custom jquery scripts --> <script src="js/jquery/custom_jquery.js" type="text/javascript"></script> <!-- MUST BE THE LAST SCRIPT IN <HEAD></HEAD></HEAD> png fix --> <script src="js/jquery/jquery.pngFix.pack.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $(document).pngFix( ); }); </script> </head>
I’m not sure where they suppose to be and how load them into word press. I tried to load them in header.php but they don’t work.
Everything works perfectly as a standalone website.
Please for advice, I’m sure I’m doing something wrong, just trying to understand WP.
- The topic ‘How to Add Jquery in WP’ is closed to new replies.