![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2004
Posts: 16,116
|
jquery slider?
__________________
Your Paysite Partner Strength In Numbers! StickyDollars | RadicalCash | KennysPennies | HomegrownCash |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Join Date: Aug 2008
Location: Just Blow Me
Posts: 10,551
|
bump bump
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2002
Location: State Of Bliss
Posts: 2,438
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
Quote:
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; }
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |