• Hello,

    whatever the number of slides I chose the title of the last slide is not taken into account when on the website. It is always the title of the previous slide that appears instead.

    I explain: when I configure the number of slides to 5, for instance, and write 5 differents titles and descriptions for each slide, the 5th slide will automatically show the title and description of the 4th slide, on the website.

    The same when I configure the number of slides to 4: the title and the descpription of the third slide will be shown, for both, 3rd and 4th, slides. It means, that I can’t have two different titles for the two last slides of the slider.
    It bothers me, because I would like to use each slide for differents topics and named them with different titles.

    Can you help please?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter carono

    (@carono)

    … same with 2 and 3 slides.

    Thank you in advance.

    Hi,
    same for me. I just updated the theme to 1.5.3 – still wrong.

    The number of slides doesn’t matter. The last active slide always showes the titel name of the slide before. :*(

    I have the same problem & diligently filled out the fields in Customizer.

    Hi all,
    I’m having the same issue.
    “Last slide is showing the previous slide’s caption”

    I’ve had a quick look at the code in Developer Tools and the first thing i’ve noticed is that the “div id=caption_5” (or the last slide number) is not being generated.

    When i get home from work i’ll have a look at the code and see if i can find a workaround until the next update.

    Does anyone know if this theme is open source? Is it on github or anywhere??

    Hi again.
    A quick update….

    In the sixteen theme folder there is slider-nivo.php
    I’ve changed line number 23

    <?php for ($i=1; $i < $count_x; $i++) {

    to

    <?php for ($i=1; $i < $count_x+1; $i++) {

    and it works. All the titles are displayed on the right slide and the div tag for id=caption_5 is generated.
    This leaves me to believe that the variable $count_x is wrong and the for loop is not run enough times.

    $count_x is set on line 4

    $count_x = $count = get_theme_mod('sixteen_main_slider_count'); ?>

    So i’ll go and find why sixteen_main_slider_count is giving the wrong amount of slides to $count_x but not $count.

    Changing line number 23

    <?php for ($i=1; $i < $count_x; $i++) {

    to

    <?php for ($i=1; $i <= $count_x; $i++) {

    Is the best solution i can come up with so far.

    GarthJT, thank you so much! ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issue with titles in slider’ is closed to new replies.