Support » Plugin: Easing Slider » How to get sliderid in EasingSlider v3?

  • in version 2 was field: ‘easingslider_lite_slider_id’

    how i do in v3 ?

    mycode:

    $courses_blog_id = get_current_blog_id();

    $query = “(
    SELECT
    option_value as sliderid
    FROM
    wp_{$courses_blog_id}_options
    WHERE
    option_name = ‘easingslider_lite_slider_id’
    )”;

    echo $query;

    global $wpdb;
    $sliderid = $wpdb->get_var($query);

    echo $sliderid;

Viewing 1 replies (of 1 total)
  • I have solved this by changing

    SELECT
    ID
    FROM
    wp_{$courses_blog_id}_posts
    WHERE
    post_type = ‘easingslider’
    AND
    post_status = ‘publish’
    )”;

Viewing 1 replies (of 1 total)
  • The topic ‘How to get sliderid in EasingSlider v3?’ is closed to new replies.