Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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.

    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??

Viewing 3 replies - 1 through 3 (of 3 total)