faster is better than slow | Download Swift
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Feature static pages in slider?

  1. #1

    Feature static pages in slider?

    Is it possible to feature static pages instead of posts in the slider? Please advise how.


  2. #2

    Add this html to your post, notice how image title and the ID of the div are matched
    <div id="custom-slider">
    <a href="http://localhost/WpDev/?p=1133" title="Testing AdSense loading">
            <img src="http://localhost/WpDev/wp-content/themes/SwiftPremium/images/default.png" class="slide-thubnail" width="936" height="577" title="#post_1133"/></a>
    <a href="http://localhost/WpDev/?p=1118" title="Ok image test">
            <img src="http://localhost/WpDev/wp-content/themes/SwiftPremium/images/default.png" class="slide-thubnail" width="936" height="577" title="#post_1118"/></a>
    <div id="post_1133" class="nivo-html-caption">
        <h2>Testing AdSense loading</h2>
        <p>jQuery(‘#fuck’).load(‘http://localhost/WpDev/wp-content/uploads/2011/09/6181315141_0b9419e3a4_b-48×48.jpg #content’);</p>
    <div id="post_1118" class="nivo-html-caption">
        <h2>Ok image test</h2>
        <p>Ok caption</p>
    Now add this to footer scripts option in general settings
    <script type="text/javascript">
    jQuery(window).load(function() { 			jQuery('#custom-slider').nivoSlider({prevText: '',  		        nextText: '',        controlNav:false, 		        effect:'fade', 		        animSpeed:600, 		        pauseTime:5000 			}); 		});

  3. #3

    Sorry, not advanced enough to understand this and make work. Messed around a bit but no success. Please advise how to make the posts redirect to the static page (?page_id=84 for example) or how to feature static pages directly. THANK YOU!!!

  4. #4

    goto swift/lib/includes/ in ftp
    Find the slider you are using
    change this code
    PHP Code:
    if( $swift_options['featured_cat_home'] && $swift_options['featured_cat_home'] != )
    $recentPosts = new WP_Query();

    PHP Code:
    $recentPosts = new WP_Query();

  5. #5

    Thank you for your quick reply! One more question... which slider .php file is for the "Large Image" Featured Slider: 1, 2, or 3?

  6. #6

    If you haven't done any major customization, switch to v6.0.

  7. #7

    Currently using SwiftPremium v0.6
    Last edited by jlolive; 10-14-2011 at 03:23 AM.

  8. #8

    Where can I download v6.0?

  9. #9

    go to the shop, and click on "add/renew subscriptions"

  10. #10

    Can you provide a link? I can't find this option. Thanks

+ Reply to Thread

Similar Threads

  1. Pages showing up in slider
    By yoyo31169 in forum Support
    Replies: 1
    Last Post: 02-24-2013, 11:41 PM
  2. Static pages lost its sidebars format
    By davidgarrido in forum Support
    Replies: 5
    Last Post: 11-04-2012, 09:11 PM
  3. Replies: 3
    Last Post: 07-15-2012, 05:13 AM
  4. adding slider on pages/posts
    By mpraamji in forum Support
    Replies: 1
    Last Post: 06-15-2012, 11:05 PM
  5. Static Pages
    By jamesthompson in forum Support
    Replies: 15
    Last Post: 09-15-2011, 06:20 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts