Grow your CSS skills. Land your dream job.

Using Jquery in WP to create a splashscreen

  • # August 2, 2011 at 11:02 am

    Hi, I have managed to use this jquery code:
    http://meerkat.jarodtaylor.com/how-to/meerkat-splash-page/
    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?

    Thanks

    # November 27, 2012 at 2:18 pm

    I think you are looking for the files in :
    wp-content/themes/{your-theme}/

    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.

*May or may not contain any actual "CSS" or "Tricks".