Viewing 3 replies - 1 through 3 (of 3 total)
  • i use wp 3.4.2 and plugin 1.0.2.

    these compination doesnt work for me.

    the album-insert-button works, but after i filled the album-id …… the published site has no album and no slideshowpro ……

    You can edit this plugin so that it accepts galleries as well as albums.

    Here’s how I accomplished the task.

    1) In the slideshowpro_sc.php file, copy everything between /* SHORTCODE */ (line 250) and the terminal curly brace “}” on line 324.

    2) Paste this code just below line 324 and above “/* ADD SHORTCODE BUTTONS TO MCE */.”

    3) Rename this new, second shortcode/function by changing “slideShowProSC” to, for example, “slideShowProSCgallery.” You’ll need to do this in three places: beside “add_shortcode” (two values) and, in the line below that, beside “function.”

    4) Scroll through the function and chance instances of “album” to “gallery” in three places:

    • <div id="gallery-'.$album.'" class="ssp">
    • id: "gallery-'.$album.'",
    • xmlFilePath: "'.$ssp_install.'/images.php?gallery='.$album.'",

    Make sure you leave the $album. variable as is.

    5) Reference your new shortcode when you want to embed a gallery instead of an album. For example, using the name above:

    [slideShowProSCgallery album=”8″]

    Hope this helps.

    Note that, in your new “gallery” shortcode — “slideShowProSCgallery” in the above example — you still use the “album” naming convention.

    Only the number refers to a gallery.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: SlideShowPro SC] Can you insert a gallery instead of an album?’ is closed to new replies.