Exclude Category From Dashboard
Author | Posts |
---|---|
December 5, 2013 at 12:36 am 13323 | |
Denis | Hi there, In the dashboard, all my posts a shown, even if I dont post them via the plugin. How can I exclude a special category in the dashboard not to show up. Cheers, Denis |
December 5, 2013 at 12:33 pm 13356 | |
Tareq Hasan | You can add filter on the dashboard query and remove posts from a certain category. |
December 6, 2013 at 12:21 pm 13404 | |
Denis | what is the args for categories? |
December 7, 2013 at 2:27 am 13442 | |
Tareq Hasan | You can add multiple category id’s to exclude: |
December 9, 2013 at 9:02 pm 13551 | |
Denis | where can I find an ARGS list? |
December 11, 2013 at 5:17 pm 13619 | |
Tareq Hasan | The link is in my previous post. |
December 12, 2013 at 3:23 am 13634 | |
Denis | 🙂 I cant get it to work…
|
December 14, 2013 at 2:10 am 13688 | |
Tareq Hasan | You did a little mistake: [php] $args[‘category__not_in’] = array( 2, 6 ); return $args; |
December 16, 2013 at 2:43 am 13731 | |
Denis | Hey Tareq, Maybe you can help me here, too. its a little off topic, but it seems to be the same. I want to set the args (parameters) for this wp previous_post_link and next_post_link I need to do it in my function. like: function my_new_post_link($args){ in_same_cat = true; } maybe you can have a look here, too. |