Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-21-2010, 07:05 AM   #1
The Dawg
Confirmed User
 
The Dawg's Avatar
 
Join Date: Apr 2002
Location: State Of Bliss
Posts: 2,438
Wordpress: Nice slideshow not attached to article?

I want to insert a slideshow of pictures to the index of my blog, but I dont need them attached to any articles.

Whats the easiest solution to do this?

Thanks
The Dawg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2010, 07:33 AM   #2
Lace
Too lazy to set a custom title
 
Lace's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 16,116
jquery slider?
__________________
Your Paysite Partner
Strength In Numbers!
StickyDollars | RadicalCash | KennysPennies | HomegrownCash
Lace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2010, 08:00 AM   #3
LoveSandra
So Fucking Banned
 
Join Date: Aug 2008
Location: Just Blow Me
Posts: 10,551
bump bump
LoveSandra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2010, 08:21 AM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
how do you want to specify the images?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2010, 09:44 AM   #5
The Dawg
Confirmed User
 
The Dawg's Avatar
 
Join Date: Apr 2002
Location: State Of Bliss
Posts: 2,438
Quote:
Originally Posted by Lace View Post
jquery slider?
Thanks, this may do it.

Quote:
Originally Posted by fris View Post
how do you want to specify the images?
Doesnt matter, it could be a file folder, a plugin or whatever. I just want it to scroll through 3 or 4 images. FCG is attached to an article and thats not really what I want.
The Dawg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2010, 09:57 AM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by The Dawg View Post
Thanks, this may do it.


Doesnt matter, it could be a file folder, a plugin or whatever. I just want it to scroll through 3 or 4 images. FCG is attached to an article and thats not really what I want.
not that hard to do.

here are a few jquery sliders

http://bxslider.com/

http://workshop.rs/projects/coin-slider/

http://www.mopstudio.jp/mopSlider2descrip.html

http://www.madebyrendr.com/jquery-plugins/simpleslider/

http://nivo.dev7studios.com/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-26-2010, 02:59 PM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by The Dawg View Post
I want to insert a slideshow of pictures to the index of my blog, but I dont need them attached to any articles.

Whats the easiest solution to do this?

Thanks
if you still need this let me know

icq: 704-299

i did this today with a directory of images instead of attachments.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2010, 08:29 AM   #8
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by The Dawg View Post
Thanks, this may do it.


Doesnt matter, it could be a file folder, a plugin or whatever. I just want it to scroll through 3 or 4 images. FCG is attached to an article and thats not really what I want.
If you want to do it via folder, here is something i would go about doing.

in your template you would do <?php custom_slideshow_image_list();?>

and have the slider code above or below that, the part where it sets the div, jquery, etc

Code:
    function custom_slideshow_image_list()
    {
        $path = sprintf( '%s/images/slideshow/', TEMPLATEPATH );
        $url = sprintf( '%s/images/slideshow/', get_bloginfo( 'template_directory' ) );
        $file_types = array( '*.jpg', '*.png', '*.gif' );

        $images = array();
        foreach( $file_types as $file_type )
            foreach( glob( $path . $file_type ) as $file )
                $images[ $file ] = $url . basename( $file );

        $output = "<ul id=\"slideshow\">\n\t";
        foreach( $images as $i )
            $output .= sprintf( "\t<li><img src=\"%s\" alt=\"%s\" /></li>\n\t", $i, basename( $i ) );
        $output .= "</ul>\n";

        echo $output;
    }
hope this helps (images/slideshow) being the directory inside your theme dir.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-10-2010, 08:30 AM   #9
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
oh and add that to functions.php in your theme dir, sorry about that.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.