Filter posts by Author for single category
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from boka003 on November 9, 2022, 12:59We have one category called Kolumne at our web site: https://cutt.ly/YMqwUJd
Posts in this category have different Authors.
Is it possible to add filter Author for posts only in this category?
Also, we will like to keep same posts layout that is now.
We need only filter option, not design change option.Regards
We have one category called Kolumne at our web site: https://cutt.ly/YMqwUJd
Posts in this category have different Authors.
Is it possible to add filter Author for posts only in this category?
Also, we will like to keep same posts layout that is now.
We need only filter option, not design change option.
Regards
Quote from Pablo Borysenco on November 9, 2022, 13:34Hello
Yes. You can create a filter (mdtf category) with only one element: Filter by author.
Add this filter to the widget. to assign the current post category - https://wp-filter.com/howto/filter-products-based-current-term-custom-taxonomy/
To display the widget only on a specific category page - https://wordpress.org/plugins/widget-options/
Also, we will like to keep same posts layout that is now. - This could be the problem. The current template may not hear search queries - https://wp-filter.com/howto/get-search-arguments-action-page-hack-portfolio-shortcode/
You can try a free version - https://wordpress.org/plugins/wp-meta-data-filter-and-taxonomy-filter/
Hello
Yes. You can create a filter (mdtf category) with only one element: Filter by author.
Add this filter to the widget. to assign the current post category - https://wp-filter.com/howto/filter-products-based-current-term-custom-taxonomy/
To display the widget only on a specific category page - https://wordpress.org/plugins/widget-options/
Also, we will like to keep same posts layout that is now. - This could be the problem. The current template may not hear search queries - https://wp-filter.com/howto/get-search-arguments-action-page-hack-portfolio-shortcode/
You can try a free version - https://wordpress.org/plugins/wp-meta-data-filter-and-taxonomy-filter/
Quote from boka003 on November 9, 2022, 14:21Hello can i can this widget as a shortcode?
here is what I have done, but don't know hot to create this filter: https://prnt.sc/KdEHLCnNQJK4
Do you have any tutorial or example how I can create author filter for posts?
Hello can i can this widget as a shortcode?
here is what I have done, but don't know hot to create this filter: https://prnt.sc/KdEHLCnNQJK4
Do you have any tutorial or example how I can create author filter for posts?
Quote from Pablo Borysenco on November 10, 2022, 10:42Hello
can this widget as a shortcode? - Yes. With widget OR shortcode
but don't know hot to create this filter: - My short video - https://c2n.me/4h5r3Nz
I recommend watching these videos - https://wp-filter.com/video-tutorials#video_1291 and https://wp-filter.com/video-tutorials#video_1293
Unfortunately, this plugin is difficult to set up, so for effective work you should watch video tutorials
Hello
can this widget as a shortcode? - Yes. With widget OR shortcode
but don't know hot to create this filter: - My short video - https://c2n.me/4h5r3Nz
I recommend watching these videos - https://wp-filter.com/video-tutorials#video_1291 and https://wp-filter.com/video-tutorials#video_1293
Unfortunately, this plugin is difficult to set up, so for effective work you should watch video tutorials
Quote from boka003 on November 10, 2022, 14:30Hello,
Thanks a lot for your reply.
I have done same as in this video: https://c2n.me/4h5r3Nz
Here are my settings: https://prnt.sc/sddH6IaEs28Y
Also, I have created shortcode for this filter: https://prnt.sc/kp3N1kGvr0tC
But I can not find to check here option for search by authors.There is only an option to search by category and tags.
Regards
Hello,
Thanks a lot for your reply.
I have done same as in this video: https://c2n.me/4h5r3Nz
Here are my settings: https://prnt.sc/sddH6IaEs28Y
Also, I have created shortcode for this filter: https://prnt.sc/kp3N1kGvr0tC
But I can not find to check here option for search by authors.
There is only an option to search by category and tags.
Regards
Quote from boka003 on November 10, 2022, 15:24Sorry, i know this is too easy for a most members of this forum.
But I was not able to do it, any location where I can see a button to add additional taxomies is soft panel.
Regards
Sorry, i know this is too easy for a most members of this forum.
But I was not able to do it, any location where I can see a button to add additional taxomies is soft panel.
Regards
Quote from Pablo Borysenco on November 11, 2022, 11:33hello
It's really not that easy, that's the reason I gave you the video tutorial links - https://share.pluginus.net/image/i20221111092909.png - Please watch these videos and you will be able to create a filter
hello
It's really not that easy, that's the reason I gave you the video tutorial links - https://share.pluginus.net/image/i20221111092909.png - Please watch these videos and you will be able to create a filter
Quote from boka003 on November 11, 2022, 13:58I'm embarrassed to admit that I watched both videos, but I couldn't figure out how to add a filter.
Can you give me some guidance as to where this is shown in the video, at what minute mark?
I found the option to create a custom taxonomy (location), but the taxonomy for the author already exists
I'm embarrassed to admit that I watched both videos, but I couldn't figure out how to add a filter.
Can you give me some guidance as to where this is shown in the video, at what minute mark?
I found the option to create a custom taxonomy (location), but the taxonomy for the author already exists
Quote from Pablo Borysenco on November 14, 2022, 10:36Hello
, but the taxonomy for the author already exists - Filter by author is not a taxonomy
- create filter by author - https://prnt.sc/sddH6IaEs28Y
- create MDTF category with this filter - https://c2n.me/4h7fvUl
- Assign MDTF to your posts - https://share.pluginus.net/video/v20221114083438.mp4
- To show filter you can use shortcode or widget - https://c2n.me/4h7fK5n
Hello
, but the taxonomy for the author already exists - Filter by author is not a taxonomy
- create filter by author - https://prnt.sc/sddH6IaEs28Y
- create MDTF category with this filter - https://c2n.me/4h7fvUl
- Assign MDTF to your posts - https://share.pluginus.net/video/v20221114083438.mp4
- To show filter you can use shortcode or widget - https://c2n.me/4h7fK5n
Quote from boka003 on November 14, 2022, 16:35Hello, thanks for the explanation.
I was missing step 3.
Now it is showing authors list here: https://cutt.ly/YMqwUJdBut we have huge number of users: https://prnt.sc/NEpDB-Z9ooUd
Can we show up just users with AUTHOR role?
Or can we show just authors that have posted in this specific category?Filter the author field to show only those who have authored posts with that category.
Hello, thanks for the explanation.
I was missing step 3.
Now it is showing authors list here: https://cutt.ly/YMqwUJd
But we have huge number of users: https://prnt.sc/NEpDB-Z9ooUd
Can we show up just users with AUTHOR role?
Or can we show just authors that have posted in this specific category?
Filter the author field to show only those who have authored posts with that category.
Quote from Pablo Borysenco on November 15, 2022, 11:09Hello
Try in file - wp-content\plugins\meta-data-filter\views\shortcode\do_mdf_search_form.php add code - https://share.pluginus.net/image/i20221115090720.png
$users = get_users(array('count_total' => false, 'role__in'=>array('editor', 'author'), 'fields' => array('ID', 'display_name', 'user_nicename')));
and in file - wp-content\plugins\meta-data-filter\views\page\draw_front_page_items.php - add code - https://share.pluginus.net/image/i20221115090847.png
$users = get_users(array('count_total' => false, 'role__in'=>array('editor', 'author'), 'fields' => array('ID', 'display_name', 'user_nicename'),));
clear all cache and do a test
Hello
Try in file - wp-content\plugins\meta-data-filter\views\shortcode\do_mdf_search_form.php add code - https://share.pluginus.net/image/i20221115090720.png
$users = get_users(array('count_total' => false, 'role__in'=>array('editor', 'author'), 'fields' => array('ID', 'display_name', 'user_nicename')));
and in file - wp-content\plugins\meta-data-filter\views\page\draw_front_page_items.php - add code - https://share.pluginus.net/image/i20221115090847.png
$users = get_users(array('count_total' => false, 'role__in'=>array('editor', 'author'), 'fields' => array('ID', 'display_name', 'user_nicename'),));
clear all cache and do a test
Quote from boka003 on November 15, 2022, 13:39Hello,
I have done changes, and now it is showing only Authors, which is working well.
But it is showing usernames, is it possible to show names? https://prnt.sc/u8BkYkcyL6O6
Can we show only posts from specific categories? Because we use this filter only in one category.
category/kolumne/
Can we make this select box and filter button in the same line? https://prnt.sc/3al9tKk9job0
I have tried all options here: https://prnt.sc/sAAVwaXvYMzd but it is always the same. Or can we use just select (without filter button).
After clicking on the Filter button, the user gets redirected to frontpage: https://cutt.ly/YMqwUJd
Even if I set the category link here: https://prnt.sc/qblXSoT5EFyz
Hello,
I have done changes, and now it is showing only Authors, which is working well.
But it is showing usernames, is it possible to show names? https://prnt.sc/u8BkYkcyL6O6
Can we show only posts from specific categories? Because we use this filter only in one category.
category/kolumne/
Can we make this select box and filter button in the same line? https://prnt.sc/3al9tKk9job0
I have tried all options here: https://prnt.sc/sAAVwaXvYMzd but it is always the same. Or can we use just select (without filter button).
After clicking on the Filter button, the user gets redirected to frontpage: https://cutt.ly/YMqwUJd
Even if I set the category link here: https://prnt.sc/qblXSoT5EFyz
Quote from Pablo Borysenco on November 16, 2022, 10:57Hello
But it is showing usernames - try in file - wp-content\plugins\meta-data-filter\views\page\draw_front_page_items.php - change code - https://c2n.me/4h8sp9V.png
$user->display_name
Can we show only posts from specific categories - Please read this - https://c2n.me/4h8stjn.png - this is for the filter.
Can we make this select box and filter button in the same line? - You need CSS customization. Or - https://wp-filter.com/howto/create-custom-skin-search-shortcode/
Or can we use just select (without filter button). - This is only available in the paid version of the plugin.
After clicking on the Filter button, the user gets redirected to frontpage: - I recommend watching these videos - https://wp-filter.com/video-tutorials#video_1291 and https://wp-filter.com/video-tutorials#video_1293
Hello
But it is showing usernames - try in file - wp-content\plugins\meta-data-filter\views\page\draw_front_page_items.php - change code - https://c2n.me/4h8sp9V.png
$user->display_name
Can we show only posts from specific categories - Please read this - https://c2n.me/4h8stjn.png - this is for the filter.
Can we make this select box and filter button in the same line? - You need CSS customization. Or - https://wp-filter.com/howto/create-custom-skin-search-shortcode/
Or can we use just select (without filter button). - This is only available in the paid version of the plugin.
After clicking on the Filter button, the user gets redirected to frontpage: - I recommend watching these videos - https://wp-filter.com/video-tutorials#video_1291 and https://wp-filter.com/video-tutorials#video_1293
Quote from boka003 on November 17, 2022, 16:30Hello there,
Thank you for your reply.
I found that most of these suggestions, das do not work on my website.
- But it is showing usernames - try in file - wp-content\plugins\meta-data-filter\views\page\draw_front_page_items.php - change code - https://c2n.me/4h8sp9V.png
$user->display_name
I have done these changes, here is a screenshot: https://prnt.sc/QB02iQuG5YsU but after cleaning cache, do usernames still show up: https://prnt.sc/jVJxIxKC3lVg
2. Can we show only posts from specific categories - Please read this - https://c2n.me/4h8stjn.png - this is for the filter.
At this link: https://wp-filter.com/howto/filter-products-based-current-term-custom-taxonomy/ I was unable to find an example for the category, so I added it like this: https://prnt.sc/2qxXhN_IaIYp , https://prnt.sc/1Sl8aGs9lzAm, but that das not work.
3. After clicking on the Filter button, the user gets redirected to frontpage: - I recommend watching these videos - https://wp-filter.com/video-tutorials#video_1291 and https://wp-filter.com/video-tutorials#video_1293
I have add here category page style: https://prnt.sc/TOjrKzu2_MMo , but after that filter das not working, whatever author I select, it is showing latest posts from all authors: https://prnt.sc/vLuiRhuXZF3H , as you can see: https://cutt.ly/YMqwUJd
Hello there,
Thank you for your reply.
I found that most of these suggestions, das do not work on my website.
- But it is showing usernames - try in file - wp-content\plugins\meta-data-filter\views\page\draw_front_page_items.php - change code - https://c2n.me/4h8sp9V.png
$user->display_name
I have done these changes, here is a screenshot: https://prnt.sc/QB02iQuG5YsU but after cleaning cache, do usernames still show up: https://prnt.sc/jVJxIxKC3lVg
2. Can we show only posts from specific categories - Please read this - https://c2n.me/4h8stjn.png - this is for the filter.
At this link: https://wp-filter.com/howto/filter-products-based-current-term-custom-taxonomy/ I was unable to find an example for the category, so I added it like this: https://prnt.sc/2qxXhN_IaIYp , https://prnt.sc/1Sl8aGs9lzAm, but that das not work.
3. After clicking on the Filter button, the user gets redirected to frontpage: - I recommend watching these videos - https://wp-filter.com/video-tutorials#video_1291 and https://wp-filter.com/video-tutorials#video_1293
I have add here category page style: https://prnt.sc/TOjrKzu2_MMo , but after that filter das not working, whatever author I select, it is showing latest posts from all authors: https://prnt.sc/vLuiRhuXZF3H , as you can see: https://cutt.ly/YMqwUJd
Quote from Pablo Borysenco on November 18, 2022, 10:52hello
- try in file - \wp-content\plugins\meta-data-filter\views\shortcode\do_mdf_search_form.php - https://share.pluginus.net/image/i20221118080918.png
- Sorry, I understand, the reason is that the filter by author does not have dynamic recalculation
- https://share.pluginus.net/image/i20221118084106.png and check options - https://share.pluginus.net/image/i20221118084206.png
hello
- try in file - \wp-content\plugins\meta-data-filter\views\shortcode\do_mdf_search_form.php - https://share.pluginus.net/image/i20221118080918.png
- Sorry, I understand, the reason is that the filter by author does not have dynamic recalculation
- https://share.pluginus.net/image/i20221118084106.png and check options - https://share.pluginus.net/image/i20221118084206.png
Quote from boka003 on November 18, 2022, 16:05I have done changes at 1. and it is working well now,
2. Is there any way that we can limit the search to specific categories, or does every search need to take a look at all categories?
3. I have added slef here: https://share.pluginus.net/image/i20221118084206.png
But now whatever template I use, the search is not working.Here is an example of my archive.php template: https://pastebin.com/7HhCmG9y
Can you please tell me where we should add this code to template to work:
23456789 if(class_exists('MetaDataFilter') AND MetaDataFilter::is_page_mdf_data()){$_REQUEST['mdf_do_not_render_shortcode_tpl'] = true;$_REQUEST['mdf_get_query_args_only'] = true;do_shortcode('[meta_data_filter_results]');$args = $_REQUEST['meta_data_filter_args'];global $wp_query;$wp_query=new WP_Query($args);$_REQUEST['meta_data_filter_found_posts']=$wp_query->found_posts;}
I have done changes at 1. and it is working well now,
2. Is there any way that we can limit the search to specific categories, or does every search need to take a look at all categories?
3. I have added slef here: https://share.pluginus.net/image/i20221118084206.png
But now whatever template I use, the search is not working.
Here is an example of my archive.php template: https://pastebin.com/7HhCmG9y
Can you please tell me where we should add this code to template to work:
2 3 4 5 6 7 8 9 | if(class_exists('MetaDataFilter') AND MetaDataFilter::is_page_mdf_data()){ $_REQUEST['mdf_do_not_render_shortcode_tpl'] = true; $_REQUEST['mdf_get_query_args_only'] = true; do_shortcode('[meta_data_filter_results]'); $args = $_REQUEST['meta_data_filter_args']; global $wp_query; $wp_query=new WP_Query($args); $_REQUEST['meta_data_filter_found_posts']=$wp_query->found_posts; } |
Quote from Pablo Borysenco on November 21, 2022, 10:55Hello
2 yes, it is possible to limit the search, but the filter will show all authors
3 Check out this template please - https://c2n.me/4haNSvt.png - you need to find the file where wp_query is generated
Hello
2 yes, it is possible to limit the search, but the filter will show all authors
3 Check out this template please - https://c2n.me/4haNSvt.png - you need to find the file where wp_query is generated
Quote from boka003 on November 22, 2022, 13:552. Can you please tell me how we can limit searches to a specific category? It is ok if we show authors from all categories, there is not much of them.
3. There is no other option to do this? This is look like extreme complicated for someone who don't know to code.
2. Can you please tell me how we can limit searches to a specific category? It is ok if we show authors from all categories, there is not much of them.
3. There is no other option to do this? This is look like extreme complicated for someone who don't know to code.
Quote from Pablo Borysenco on November 23, 2022, 10:41Hello
2) Please read this - https://share.pluginus.net/image/i20221123083314.png
3) Unfortunately no. If this is a custom template, code customization is needed.
Hello
2) Please read this - https://share.pluginus.net/image/i20221123083314.png
3) Unfortunately no. If this is a custom template, code customization is needed.
Quote from boka003 on November 23, 2022, 13:52Hello,
2) I can see that this is an example of WooCommerce, I don't use woocommerce. Can you please send me an example of how to filter to a specific category?
Here is what I have try: https://prnt.sc/SrqEXaq4nUcC3) how much are you charge for that type of customization?
Regards
Hello,
2) I can see that this is an example of WooCommerce, I don't use woocommerce. Can you please send me an example of how to filter to a specific category?
Here is what I have try: https://prnt.sc/SrqEXaq4nUcC
3) how much are you charge for that type of customization?
Regards