Featured Wordpress Themes

modify kwiks slider
  • I got a question: How can I add a fifth image to the kwicks page slider? I have five products that must be shown on the front page so I really need this to work.

    Dave
  • 15 Comments sorted by
  • Kwicks slider in Simplicius template support only 4 images but if you are little skilled coder you can do it alone.

    1. open css/jquery.kwicks.css and set new width for kwicks slider items(185px)
    2. open header-slider-subpage.php and locate kwicks slider code.
    change the line 161
    from: <?php for ($i = 1; $i < 5; $i++): ?>
    to: <?php for ($i = 1; $i <= 5; $i++): ?>

    NOTE: this is not small change in template. It may cause another issues

    Good luck :-)
  • It worked just fine, I really like the page now, but having trouble with one more thing. I want a nextgen gallery (id=1) to appear in one of the custom html boxes. What ever I do I cant make that happen and the nextgen helpsection kinda suxs. Been searching for hours now and last resort Is you! Any idea of a tag to get [gallery=1] to work in one of the html boxes? I promise to buy a theme from you for the next site Im making :)

    Dave
  • Ah there we go, just what I wanted, thanks Lukas!!

    Dave
  • ok got abit on the way to make the fifth image happen but where do I add the url etc for the fifth image? Nothing comes up in the cusomfields in adminsection. In what file do I have to add the url and text for the the fifth image?

    Dave
  • 1. open functions/admin-page.php
    2. copy line 242 to 259
    3. paste it after line 259
    4. replace number 4 by 5
  • /* 4. Image */
    array( 'page_slider_kwicks_url_4',
    '<div class="title-header"><h2>4. Image</h2></div>
    <strong class="title-inline">Image URL</strong>',
    'text_field'
    ),
    array( 'page_slider_kwicks_title_4',
    '<strong class="title-inline">Image Title</strong>',
    'text_field'
    ),
    array( 'page_slider_kwicks_link_4',
    '<strong class="title-inline">Image Link</strong>',
    'text_field'
    ),
    array( 'page_slider_kwicks_desc_4',
    '<strong class="title-inline">Image Description</strong>',
    'text_field'
    ),
    /* 5. Image */
    array( 'page_slider_kwicks_url_5',
    '<div class="title-header">>h2>5. Image</h2>>/div>
    <strong class="title-inline">Image URL</strong>',
    'text_field'
    ),
    array( 'page_slider_kwicks_title_5',
    '<strong class="title-inline">Image Title</strong>',
    'text_field'
    ),
    array( 'page_slider_kwicks_link_5',
    '<strong class="title-inline">Image Link</strong>',
    'text_field'
    ),
    array( 'page_slider_kwicks_desc_5',
    '<strong class="title-inline">Image Description</strong>',
    'text_field'
    ),
  • Ah another fast and great response, thanks Lukas!!!

    Dave
  • Hi,

    open functions.php and add this line:
    add_filter('widget_text', 'do_shortcode');
    after line 44

    Full code of function simplicius_widgets_init:
    http://pastebin.com/qzpevGAN
  • Thanks! dont know where my question went but I love the answer :)

    But just doing what you wrote didnt help, [gallery=1] Does not show up. Checked the link but didnt really get if there was something there I have to use, Im really not a code pro.

    Dave
  • Do you know that nextgen gallery has widget? Check out attached file
    Widgets ‹ Simplicius Simplicissimus — WordPress.png
    1267 x 734 - 140K
  • Jepp saw that it has it´s own widget, but its just that I want to display different gallerys on different pages (via the custom boxes). The nextgen widget shows up on all of the pages! Thanks for the pic anyways! :)

    Dave
  • Wordpress dont provide option to show widgets on custom pages like Drupal.

    In Simplicius we created ultra simple solution to show widgets on custom pages but there are only 3 text widgets which you can use.

    Try this plugin: http://wordpress.org/extend/plugins/widget-context/screenshots/

    Lukas :-)
  • Aha ok, I´ll try that plugin then, thanks Lukas!!

    Dave
  • Hi guys, I made the change to 5 images in slider but the caption text for each is off. The first slide is perfect, then all 4 other captions are the same length and too long so the words tuck behind the slide in front of it. I tried playing with the caption width but not changing for some reason. Where do I need to adjust this?

    Thanks!
  • Hi Buchanan0505,

    Can you paste here link to your website?

    Patrik