WordPress.org

Ready to get started?Download WordPress

Forums

vSlider Multi Image Slider for WordPress
Unable to insert vslider in home page (5 posts)

  1. bigpacific
    Member
    Posted 1 year ago #

    Brand new vslider install.

    Have tried this code:

    <?php get_header(); ?>
    if(is_home()){
    if(function_exists('vslider'){
      vslider('frontpage');
    }
    ?>

    on index.php, page.php, post.php, header.php with no luck. I want it to show just below the navigation on the front page only, which is postid=51, static page 'Welcome' as home page in settings.

    I also tried

    if(is_post('51')){
    if(is_page('Welcome')){

    What am I missing?

    http://www.statimcseeds.ca

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

  2. Mr. Vibe
    Member
    Plugin Author

    Posted 1 year ago #

    Its working fine. Checked on Chrome/FF/Safari on mac
    I guess you've resolved the issue..

  3. bigpacific
    Member
    Posted 1 year ago #

    Hi - no, I had to place it in the actual page content and would prefer to use it as a function, only on the home page.

  4. e-ditora
    Member
    Posted 1 year ago #

    I'm looking for some help to display VSlider in my HOMEPAGE ONLY. I've tried condition codes in my HEADER.PHP, but it remains displaying in all website pages. Using Twenty Twelve template. Can u help me pelase? Thanks

  5. onkoistudios
    Member
    Posted 1 year ago #

    For those of you trying to display the slider on a specific page, use a page template.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic