Results 1 to 3 of 3

Thread: Sanook Slider

  1. #1
    Marketplace Seller mr_green's Avatar
    Join Date
    Aug 2010
    Posts
    953
    Thanks
    113
    Thanked 192 Times in 147 Posts

    Thumbs up Sanook Slider

    starting here http://forums.appthemes.com/criticiz...e-2/#post98811

    a use of smooth slider to filter post in "category post"
    not very clean but efficient

    under

    <div id="breadcrumb">
    xxxx the breadcrumb xxxx
    </div>


    PHP Code:
    <?php
    if (is_category(category_slug0')) {echo do_shortcode('[smoothslider id="0"]');}
    elseif (is_category('
    category_slug1')) {echo do_shortcode('[smoothslider id="1"]');}
    elseif (is_category('
    category_slug2')) {echo do_shortcode('[smoothslider id="2"]');}
    elseif (is_category('
    category_slug3')) {echo do_shortcode('[smoothslider id="3"]');}
    elseif (is_category('
    category_slug4')) {echo do_shortcode('[smoothslider id="4"]');}
    elseif (is_category('
    category_slug5')) {echo do_shortcode('[smoothslider id="5"]');}
    else
    {
    }
    ?>
    before
    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post() ?>
    Best

  2. #2
    Forum Member firionicable's Avatar
    Join Date
    Aug 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    a nice work indeed. thanks for sharing on this, mr. green. will try it out maybe later or tomorrow.

  3. #3
    commanches's Avatar
    Join Date
    Oct 2012
    Location
    Trois-Rivières
    Posts
    7
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hello,

    'category_slug1' corresponds to what
    Can you explain
    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Featured Listing Slider Ads Not Showing in Slider
    By kplunk in forum Report ClassiPress Bugs
    Replies: 11
    Last Post: June 12th, 2016, 10:14 PM
  2. CP 3.1 Radius slider and Price Slider not visible on site
    By tyrone in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: October 19th, 2011, 10:04 PM
  3. Replies: 4
    Last Post: December 30th, 2010, 04:50 PM
  4. Replies: 12
    Last Post: September 7th, 2010, 05:09 PM
  5. Slider and spacing below slider
    By lappyhappy in forum Report ClassiPress Bugs
    Replies: 26
    Last Post: August 4th, 2010, 02:04 PM