• Resolved email889

    (@email889)


    Hi, this is very cool plugin I have ever seen.

    how to setup, if data is from $wpdb like below? Is

    $fetchusers= $wpdb->get_results( “SELECT $table_user.user_id FROM $table_user WHERE $table_user.meta_key IN(‘$filter’) ORDER BY user_id DESC”, ARRAY_A);
    foreach( $fetchusers as $value_user):
    <tr><td>$value_user</td></tr>
    endforeach;

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi email889,
    Thanks!
    You could build an array of post ids from the wpdb query and pass the array to the post__in shortcode parameter.

    Let me know if this helps.

Viewing 1 replies (of 1 total)

The topic ‘database’ is closed to new replies.