Plugin Author
3dolab
(@3dolab)
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?
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 ?
Plugin Author
3dolab
(@3dolab)
ehmm give a try to the latest version.
titles should be loaded in the file views/default/gallery.php
as $slide -> title
…
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 ?
I have the same problem if I place [slideshow custom=1] on a page of my website
ok i find a solution : I create a page with image inside to create slider in my home page 🙂
thanks for your plug in
…
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
?
Plugin Author
3dolab
(@3dolab)
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.