Wordpress Slide show Problems

Discussion in 'WordPress' started by sokia, Mar 11, 2012.

  1. #1
    hi friends , i have a problem with wordpress slideshow, i have install a slideshow and its ok but i want that each image have url , i cant add url code in the PHP code,
    the slideshow code show below:

    <script type="text/javascript">

    var mygallery=new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [630, 182], //width/height of gallery in pixels. Should reflect dimensions of largest image
    imagearray: [

    ["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/1.jpg", "", ""],

    ["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/2.jpg", "", ""],

    ["<?php bloginfo('stylesheet_directory'); ?>/img/slidshow/3.jpg", "", ""]

    //<--no trailing comma after very last image element!
    ],
    displaymode: {type:'auto', pause:4000, cycles:0, wraparound:false},
    persist: false, //remember last viewed slide and recall within same session?
    fadeduration: 500, //transition duration (milliseconds)
    descreveal: "ondemand",
    togglerid: ""
    })



    </script>


    please help me!
    Thanks
     
    sokia, Mar 11, 2012 IP
  2. AlohaThemes.com

    AlohaThemes.com Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    83
    #2
    The easiest thing you can do for yourself is to install a slide show plugin. There are some very good one out there at no cost. Then you can configure the image and link options right from within WP instead of editing a PHP file anytime you want to change images or links. Since the themes I design have image sliders built into them, I haven't used a Image Slider plugin in a while. Perhaps someone else can share some other current options, but I have used Featured Content Gallery, Dynamic Gallery and vSlider. Good luck!

    Hope that helps :) - Scott
     
    AlohaThemes.com, Mar 11, 2012 IP