Home Forums Plugin Support WP User Frontend (Free Version) Dashboard show posts by category

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  elenanik 5 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14242

    elenanik
    Participant
    Post count: 20

    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!

    #14244

    Denis
    Participant
    Post count: 165

    I use this code

    add_filter( 'wpuf_dashboard_query', 'wpufe_dashboard_category' );
    function wpufe_dashboard_category( $args ) {
     
        $args['category__in'] = 2;
      
        return $args;
    }
    #14662

    elenanik
    Participant
    Post count: 20

    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?

    #14663

    elenanik
    Participant
    Post count: 20

    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 4 posts - 1 through 4 (of 4 total)

The topic ‘Dashboard show posts by category’ is closed to new replies.