Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Reick

    (@reick)

    Thanks for your answer. As you may have guessed I’m not an experienced user. I’m going to try it now, but, where do I have to include the css file? In the header or with the enqueue script too?

    Thread Starter Reick

    (@reick)

    Still doesn’t load anything for some reason. Here’s my <head> code (I’m trying with Nivo Slider now):

    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    
    <!--Nivo Slider-->
    <script src="jquery.nivo.slider.pack.js" type="text/javascript"></script>
    <link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    </script>
    
    <link rel="profile" href="https://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    <?php wp_head(); ?>
    </head>

    I’m using a child theme of the TwentyTwelve theme, and of course I added the slider in the body as indicated in the Nivo Slider documentation.

Viewing 2 replies - 1 through 2 (of 2 total)