WordPress.org

Ready to get started?Download WordPress

Forums

WP Parallax Content Slider
[resolved] Is it possible to have multiple static sliders (5 posts)

  1. sasikumar3g
    Member
    Posted 1 year ago #

    Hi , Thank you for the awesome slider. I am using it in my site.

    I have added slider ( static slides) to a custom page. I copy and rename the static-slides-sample.php as you said in the docs, and it's working perfectly fine.

    Now i would like to have a different slider in another page with entirely different contend. it's also going to be a static one.

    How do i do that with your plugin ??

    Thank you .

    http://wordpress.org/extend/plugins/wp-parallax-content-slider/

  2. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hmmm, very interesting one :D
    I guess the fastest solution is:

    1 - Find and list the pages "wordpress ID" where you want to put a slider. Let's say 1 and 2 for our example :) And put the plugin code in each of these pages (or maybe once if its in the header)
    2 - Create one static php file per slider based on static-slides-sample.php (eg. static-slides-1.php, static-slides-2.php)
    3 - Adapt the plugin code in wp-parallax-content-slider.php

    Replace :

    include('static-slides-sample.php');

    by

    if ( is_page(1) )
    {
       include('static-slides-1.php');
    }
    else if ( is_page(2) )
    {
       include('static-slides-2.php'); 
    
    }
    else
    {
       include('static-slides-sample.php');
    }

    Not tested but this should work :S

  3. sasikumar3g
    Member
    Posted 1 year ago #

    Hi maverick Thanks a lot for the quick reply. I tried it out. it's working perfectly all right, just the way I want. :)

    Thank a lot .

  4. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Great ;) Let me know if you use this plugin on your website, I'll have a look!

  5. sasikumar3g
    Member
    Posted 1 year ago #

    Sorry for the late reply .

    Here is the link. this is just a testing host we are working on. The site is in very initial stage .

    http://sqx1.com/

    pages using your plunging are :-
    http://sqx1.com/?page_id=199
    http://sqx1.com/?page_id=201 ignore the spelling mistake :)

    The original site will be
    http://sequax.com/

    but will take at-least one or two months to update.

    again Thank you very much for the awesome plugin and the support. really appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic