1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Revolution slider

Discussion in 'PHP & Perl' started by mission, Mar 21, 2013.

  1. mission

    mission Newbie

    Joined:
    Sep 9, 2009
    Messages:
    39
    Likes Received:
    20
    Occupation:
    IM
    Location:
    canada
    Home Page:
    Hi guys,

    I've recently been working with a new theme (nexus) and been trying to integrate the rev slider on the home page
    the read me and instruction don't seem to clear can any of your guys help out and tell me how to or where to input the code
    to display the slider
    Code:
    <?php putRevSlider("main_slider","homepage") ?>
    it states to place this in the theme html/php file ????

    Code:
     From the [B]theme html[/B] use: <?php putRevSlider( "alias" ) ?> example: <?php putRevSlider("main_slider") ?> 				
    				   For show only on homepage use: <?php putRevSlider("main_slider","homepage") ?> 				
       For show on certain pages use: <?php putRevSlider("main_slider","2,10") ?>
    any help would be very grateful
     
  2. Team-KoE

    Team-KoE Newbie

    Joined:
    Dec 15, 2011
    Messages:
    11
    Likes Received:
    2
    Home Page:
    If it's WordPress you could try...

    Code:
    <?php if ( is_home() ) { putRevSlider("main_slider"); } ?>

    EDIT:
    Oooohhh, you want to know where to put it?
    Off the top of my head...
    wp-admin > Appearance > Editor > home.php
    home.php may be page.php or something else, depening on how the skin is coded.
    Just view source on the homepage and search for a css class or something to pinpoint the right spot ;)
     
    Last edited: Mar 28, 2013
  3. olm75

    olm75 Power Member

    Joined:
    Jan 14, 2009
    Messages:
    746
    Likes Received:
    82
    if i were you i would use Firebug or Inspect Element, and then find the place you want to add the code to using dreamweaver or notepad++