vSlider Multi Image Slider for WordPress
[resolved] [Plugin: vSlider] activate header vSlider only in (2 posts)

  1. johann64
    Posted 3 years ago #

    Hello world,

    this plug-in is really great! I use it in the header of a Twenty Eleven child theme and it works very weel!
    Now I need to activate vSlider only in some specific pages in my website, and no header images in the remaining pages, how can I do? Maybe using conditional tags like
    if ( is_page(array( 4, 8, 14,)))... ?
    but i'm not a php expert, how can i do?

    Thanks in advance!


  2. johann64
    Posted 3 years ago #

    I resolved sobstituting this tag:
    <?php if ( function_exists('vslider')) { vslider('headerslider'); } ?>
    with this:
    <?php if ( is_page(array( 4, 89, 91, ))) { vslider('headerslider'); } ?>
    where numbers are ID pages where vSlider work

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic