The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Using Jquery in WP to create a splashscreen

  • # August 2, 2011 at 11:02 am

    Hi, I have managed to use this jquery code:
    to create a splash screen that loads a gif, the gif plays and then the splash screen fades away to show the content on the page.

    The problem I have is taking it into WordPress?

    I am not sure where to call the js files?

    Where to type the function

    etc. etc..

    Could someone please point me in the right direction?


    # November 27, 2012 at 2:18 pm

    I think you are looking for the files in :

    In that folder you will find as styles.css page and you might find some js files.

    But I’d think that for your purposes you really want to create a plugin.

    # November 29, 2012 at 4:00 pm

    and then just point to your file from the footer.php with
    <script type="text/javascript" src="<?php bloginfo(‘stylesheet_directory’); ?>/js/yourscripts.js"></script>

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed