WordPress.org

Support

Support » Plugins and Hacks » WOW Slider » [Resolved] WOW slider not working on home page

[Resolved] WOW slider not working on home page

  • I need help using the WOW slider on my site, based on the Thematic theme. I have the slider working perfectly fine on a page using the short code, but I want it to appear on the front page above the container. Here is my code:

    (in functions.php of my child theme)
    function wow() {
    if ( is_front_page() ) {
    ?>
    <div id=”slideshow-<?php wowslider(2); ?>”</div>
    <?php
    }
    }
    add_action(‘thematic_abovecontainer’, ‘wow’);

    The images show up (in the proper place, only on my homepage) in a bulleted list but the slider is not working. Also this text appears below the images:
    HTML Slideshow Codes by WOWSlider.com v2.7.1m

    Please help!

    http://wordpress.org/extend/plugins/wowslider/

Viewing 3 replies - 1 through 3 (of 3 total)
  • There are several errors in your code… It’s incorrectly to use WOWSlider PHP code inside ID, also you missed “>” symbol… Correct code is:

    (in functions.php of my child theme)
    function wow() {
    if ( is_front_page() ) {
    ?>
    <div id="slideshow"><?php wowslider(2); ?></div>
    <?php
    }
    }
    add_action('thematic_abovecontainer', 'wow');

    It works!!! Thank you sooo much!!!

    Plugin Author WOWSlider.com

    @wowslidercom

    You’re welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] WOW slider not working on home page’ is closed to new replies.
Skip to toolbar