Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Gaurav

    (@gauravofindia)

    Fixed by myself ??

    Hi
    Are you able to share how you did this?

    Thread Starter Gaurav

    (@gauravofindia)

    <?php
    global $wp_query;
    $postid = $wp_query->post->ID;
    $navthumbimg = get_post_meta($postid, ‘slider_nav_thumbnail’, true);
    //echo $navthumbimg;
    wp_reset_query();
    ?>

    <?php global $smooth_sldr_j; for($i=1; $i<=$smooth_sldr_j; $i++) {
    echo “<img src=\”$navthumbimg\”/>\n”;
    } ?>

    But there is a small problem i am not getting all the images.

    Only the first one.

    Thread Starter Gaurav

    (@gauravofindia)

    Let me know if any know about this.

    Hi.. Didn’t know about this.

    Looks however like we are after something slightly different.
    I don’t want to display the thumbnail of the image but have something simple. I don’t want the numbers.
    Instead I am after small boxes with the box linked to the current slider filled (ie in black) while all the others will be white.

    A similar look to alot of sliders out there.
    Any ideas are welcome.

    Thread Starter Gaurav

    (@gauravofindia)

    Use featured content gallery instead.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Smooth Slider navigation images from custom field’ is closed to new replies.