Viewing 1 replies (of 1 total)
  • Hi

    The plugin uses only “custom fields”. So you can use the “post_meta” functions.

    Otherwise, if you want to get all series with their posts, you can request database with the following query:

    $meta_key= ... ;
    $orderby='menu_order';
    $order='ASC';
    $sql = 'SELECT DISTINCT ID, meta_value, post_title, post_date, post_status, menu_order FROM '.$wpdb->posts.' ,'.$wpdb->postmeta.' WHERE meta_key="'.$meta_key.'" AND ID=post_id ORDER BY meta_value ASC, '.$orderby.' '.$order;
    $results = $wpdb->get_results($sql);
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: EG-Series] Retrieving a post serie without shortcodes’ is closed to new replies.