WordPress.org

Ready to get started?Download WordPress

Forums

Combo Slideshow
[resolved] - - - instead caption on my slideshow (9 posts)

  1. matlibu
    Member
    Posted 2 years ago #

    Hi,

    On my wordpress website homepage, I want to have a slideshow with my uploaded image

    but instead caption (in configuration settings, display captions is on), there is "- - -"

    I don't understand. Isn't caption the titles of my differents slide ?

    thanks

    http://wordpress.org/extend/plugins/combo-slideshow/

  2. 3dolab
    Member
    Plugin Author

    Posted 2 years ago #

    It should be the title of the post if you're using the "global" blog slideshow that cycles through post thumbnails.
    With custom managed slideshow, it should indeed display the custom slide title you've set.

    Can you link a test page?

  3. matlibu
    Member
    Posted 2 years ago #

    Hi,

    thanks for response

    It's local website. no test link sorry

    I use '
    <?php if (class_exists('CMBSLD_Gallery')) { $CMBSLD_Gallery = new CMBSLD_Gallery(); $CMBSLD_Gallery -> slideshow($output = true, $post_id = null); };

    ?>

    on my home page (because shortcode doesn't run)

    How configure your script to have title or description of any slide as caption ?

  4. 3dolab
    Member
    Plugin Author

    Posted 2 years ago #

    ehmm give a try to the latest version.
    titles should be loaded in the file views/default/gallery.php
    as $slide -> title

  5. matlibu
    Member
    Posted 2 years ago #

    ...

    I have the latest version but impossible to replace the caption by the title :(

    it doesn't work.

    in gallery.php, when I replace every $slide -> title by $slide -> post_title (or inverse), it doesn't work.

    where I have to change it ?

    And why there are 3 "-" on the caption ?

  6. matlibu
    Member
    Posted 2 years ago #

    I have the same problem if I place [slideshow custom=1] on a page of my website

  7. matlibu
    Member
    Posted 2 years ago #

    ok i find a solution : I create a page with image inside to create slider in my home page :)

    thanks for your plug in

  8. matlibu
    Member
    Posted 2 years ago #

    ...

    one more question : how configure a link different than the attachment ?... even if I place a link one an image, the link in the slider is the attachment link

    ?

  9. 3dolab
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry but i couldn't exactly get the scenario...
    first of all, what WP and Combo Slideshow versions are you running?
    are you trying to insert a "custom" slideshow (single slides set in the "manage slides" admin panel) or your "blog summary" (displaying each post's thumbnail)?

    Unfortunately, no more than one "custom" gallery are available at the moment.

    Shortcodes are obviously meant to be used in the post content and slide-show the post attachments gallery OR the "custom" one.
    In order to get it in your homepage you have to manually insert the manual code in the template files, as you almost did...
    but you have to replace $output = true, $post_id = null because these are only the default parameters and their default values: so it's
    $CMBSLD_Gallery -> slideshow(true, '22'); to show the attachment gallery for post ID 22
    $CMBSLD_Gallery -> slideshow(true, null, null, null, true); for the custom slideshow
    (sorry can't remember if quotation marks are required around IDs or if you can safely use '' instead of null)

    But the global blog summary still needs another function
    show_combo_slider()

    Captions and links should be taken from:
    -the post title/link (with global blog summary slideshow)
    -the attachment title/link (with post gallery slideshow)
    -the slide title/link as set in "manage slides" (with custom)

    I'm working on a new version, I'm trying to double-check everything to catch any possible bug, but if you can't wait and want to edit the crucial file gallery.php, I guess I need to better focus on what you're trying to accomplish.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic