vacation-lite: Slider same caption

Home Support Themes Forum vacation-lite: Slider same caption

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7279
    Anonymous
    Inactive

    Hello,

    in the Slider of “vacation-lite” is always the same caption. The title is different but the caption is the same of the last slide.

    the code:

    <?php
    $i=1;
    foreach($id_arr as $id){
    $title = get_the_title( $id );
    $post = get_post($id);
    $content = wp_trim_words( get_the_content(), 40, ‘…’ );
    ?>
    <div id=”slidecaption<?php echo $i; ?>” class=”nivo-html-caption”>
    <div class=”top-bar”>
    <h2><?php echo $title; ?></h2>
    <p><?php echo $content; ?></p>
    “><?php echo esc_html(get_theme_mod(‘slidelinktext’,__(‘Learn More’,’vacation-lite’))); ?>
    </div>
    </div>
    <?php $i++; } ?>

    Please can help me.

    I mean, that the caption doesn’t access to post ID.

    Thanks!

    #7286
    FlyThemes
    Keymaster

    Hi

    Please send the site url and the login details to support@flythemes.net so we can check and resolve it.

    Thank You

    #7304
    Anonymous
    Inactive

    Hello FlyThemes,

    i have write to your email adress.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.