WordPress.org

Ready to get started?Download WordPress

Forums

WOW Slider
[resolved] WOW slider not working on home page (4 posts)

  1. dinavep
    Member
    Posted 1 year ago #

    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/

  2. WOWSlider
    Blocked
    Posted 1 year ago #

    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');
  3. dinavep
    Member
    Posted 1 year ago #

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

  4. WOWSlider.com
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic