Support » Plugins » vSlider as header???

  • Tlaron


    Hi everyone,
    I am creating a WordPress website and I wanted to have a slider header. I downloaded, installed, activated and customized the vSlider and I know how to have it on a page but I’d like for it to be the header for the website. I looked up tutorials and forums and they suggested adding this code in the header.php file of the theme. Here’s the code:
    <?php if( is_front_page() AND function_exists(‘vslider’)) {vslider(); } ?>

    The problem is I don’t know exactly where to paste the code. I placed it in the header.php file in many different places and tried it and it doesn’t show up at all. I was wondeirng if this is because I placed the code in the wrong places. If anyone had anyhelp on where I should paste the code in the header.php file or if any knew how to have a slider as the header for you site it would be much appreciated. Thanks again everyone

Viewing 1 replies (of 1 total)
  • Mr. Vibe


    <?php if( is_front_page() AND function_exists(‘vslider’)) {vslider(); } ?>


    <?php if( is_front_page())
    { if(function_exists(‘vslider’))
    {vslider(); }

Viewing 1 replies (of 1 total)
  • The topic ‘vSlider as header???’ is closed to new replies.