• Resolved tridesolutions

    (@tridesolutions)


    I need to display posts list by the current author/user who is logged in.

    is there any option to display a particular author’s post list?

Viewing 1 replies (of 1 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    Unfortunately the plugin does not have this feature.

    Perhaps an additional code will help you:

    Please use this hook – ‘tableon_wp_query_args’ – https://posts-table.com/hook/tableon_wp_query_args/

    An example:

    add_filter('tableon_wp_query_args', function($args, $table_id) {
                if ($table_id > 0) {
                    $id = get_current_user_id();
                    if($id){
                    $args['author__in'] = [$id];
                    }
                }
                return $args;
            }, 10, 2);
Viewing 1 replies (of 1 total)

The topic ‘author wise post display’ is closed to new replies.