The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to Add Jquery in WP (1 post)

  1. tretos
    Posted 4 years ago #

    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


    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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <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).pngFix( );

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic