Dashboard show posts by category

This topic contains 3 reply and 2 voices, and was last updated by elenanik 10 years, 10 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
January 8, 2014 at 6:18 pm 14242
elenanik Hi, there is a way to show on dashboard posts by category? I would like the user to select from a dropdown menu the posts category. Thanks a lot!
January 8, 2014 at 7:40 pm 14244
Denis Denis

I use this code

add_filter( 'wpuf_dashboard_query', 'wpufe_dashboard_category' );
function wpufe_dashboard_category( $args ) {
 
    $args['category__in'] = 2;
  
    return $args;
}
January 21, 2014 at 6:44 pm 14662
elenanik elenanik

Hi, thanks but where do I have to add this code? wpuf functions or to my templates functions?
There is a shortcode to do this job?

January 21, 2014 at 6:47 pm 14663
elenanik elenanik

I am using this shortcode:
[wpuf_dashboard post_type=”post”]

is there a way to add the category id of the post I want the user to edit?

Thanks!!!

Viewing 3 Posts - 1 through 3 (of 3 total)