User posts from specific category – UserPro Forums https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/feed/ Fri, 03 May 2024 06:43:09 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-22871 <![CDATA[User posts from specific category]]> https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-22871 Mon, 24 Feb 2014 18:33:30 +0000 Manos Hello, I would like to show the user posts of a particular category. For example something like this:

[userpro template=postsbyuser postsbyuser_mode=grid postsbyuser_showthumb=1 category=categoryname]

]]>
https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23069 <![CDATA[Reply To: User posts from specific category]]> https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23069 Tue, 25 Feb 2014 04:46:17 +0000 admin I have just added a new update that allow you to display posts by user based on specific category or categories/taxonomy.

e.g. to show products from cat A, B C, or to show posts by user that are from category 1, category 2 or specific category. That’s added in v1.0.73 and I am documenting it now.

]]>
https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23070 <![CDATA[Reply To: User posts from specific category]]> https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23070 Tue, 25 Feb 2014 05:25:11 +0000 admin The docs for postsbyuser is ready with the new feature/options.

http://userproplugin.com/userpro/docs/#shortcode_postsbyuser

postsbyuser_taxonomy – This takes effect If you use postsbyuser_category option to show posts from specific categories. This value should be a valid taxonomy slug. Default: category
postsbyuser_category – To show posts from specific category (or categories) enter the IDs as value, comma-seperated. To show posts from category 1, 4, and 6 (using IDs) use postsbyuser_category=1,4,6 or use a single category ID for one category. Default: none to display posts from any category (Have no effect if empty!)

so basically you can use postsbyuser_category=x,x,x to show categories or category.. and postsbyuser_taxonomy can control which taxonomy if you want to use another taxonomy (Not just categories!) with it.

Other parameters have been documented for postsbyuser too. Thanks!

]]>
https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23176 <![CDATA[Reply To: User posts from specific category]]> https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23176 Tue, 25 Feb 2014 14:16:51 +0000 Manos Thanks a lot Ahmed! You are really helpful! Will try it asap!

]]>
https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23186 <![CDATA[Reply To: User posts from specific category]]> https://forum.userproplugin.com/forums/topic/user-posts-from-specific-category/#post-23186 Tue, 25 Feb 2014 14:44:22 +0000 admin Thanks Manos! Remember you can get latest version here:

http://userproplugin.com/userpro/customer_portal/

]]>