Feature static pages in slider?

Forums Forums SWIFT Themes Support Feature static pages in slider?

Tagged: 

This topic contains 10 replies, has 2 voices, and was last updated by  Jaime Olive 3 years ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #15972

    Jaime Olive
    Member

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

    Thanks!

    #20733

    Satish
    Keymaster

    Add this html to your post, notice how image title and the ID of the div are matched

    Code:

    Testing AdSense loading

    jQuery(‘#fuck’).load(‘http://localhost/WpDev/wp-content/uploads/2011/09/6181315141_0b9419e3a4_b-48×48.jpg #content’);

    Ok image test

    Ok caption

    Now add this to footer scripts option in general settings

    Code:
    #20738

    Jaime Olive
    Member

    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!!!

    #20734

    Satish
    Keymaster

    goto swift/lib/includes/ in ftp
    Find the slider you are using
    change this code
    [php]
    if( $swift_options && $swift_options != 0 )
    $query=’cat=”‘.$swift_options.'”&showposts=’.$swift_options;
    else
    $query=’&showposts=’.$swift_options;
    $recentPosts = new WP_Query();
    $recentPosts->query($query);
    [/php]

    to

    [php]
    $query=’&post_type=page&showposts=’.$swift_options;
    $recentPosts = new WP_Query();
    $recentPosts->query($query);

    [/php]

    #20739

    Jaime Olive
    Member

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

    #20735

    Satish
    Keymaster

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

    #20740

    Jaime Olive
    Member

    Currently using SwiftPremium v0.6

    #20741

    Jaime Olive
    Member

    Where can I download v6.0?

    #20736

    Satish
    Keymaster

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

    #20742

    Jaime Olive
    Member

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

    #20737

    Satish
    Keymaster
Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.