Hello,
First thank you for the plugin, its saves me a lot of time and no extra code.
But there is one thing I would like to request.
I work with a custom taxonomie and with an hierarchy.
It’s possible to show the hierarchy but it will show directly everything.
Is it possible to have the option like in the original category widget to have to arrows so you can navigate yourself?
Thank you very much in advance.
Best regards,
Timothy
Hello.
How can we use this plugin to show Recent Order`s (from woocommerce) list widget ?
]]>Hello,
Thanks for your plugin very helpfull.
I have 2 questions for the Recent Posts (Custom Post Type)
When the title is empty, its display “Recent Posts”, why ?
Second question, is there a way to display “post_tag” before article’s title ?
Thanks in advance for your reply.
]]>Bonjour et bravo pour ce plugin,
je cherche à mettre en widget un post par jour. Est ce qu’il y a une solution pour moi ?
Merci d’avance pour la réponse.
]]>The change from version 1.2.1 to 1.3.0 or 1.4.2 is causing me a problem with the display of Custom Post Type titles. Indeed, after the update to version 1.3.0 the titles appear in the widget with HTML coding (which are placed in the title to customize the formatting). Example: SKI
Looks more like: SKI
But appears as: <SPAN STYLE = “FONT-SIZE: 1.5EM;”> SKI </SPAN>
Do you have a solution for the titles to appear as in version 1.2.1, ie without the HTML styling additions?
I have screenshots to show if ever …
I am seeing a formatting error when using 5.8.2 and a divi theme is there any fix for this.
]]>Has anyone had issues updating to WP 5.7.2? The plugin was tested up to 5.6.4.
]]>Hi,
is it possible to select more than one taxonomy in the categories widget so that it shows the categories of more than one custom post type in the same widget?
We have a problem with the calendar view not updating when new events are created to the site. The events are updated to the calendar when we purge the cache, so the problem is with the caching I guess. Is there a neat way to remove the cache from the calendar?
I can not provide a link to the site since the content that the problem is related is visible only to logged in users.
]]>Hi, I want to add a widget in sidebar on a custom post page to show other posts from that category. How can that be done. Category = taxonomy in this case I guess.
]]>Hello,
I’m building a website with a few CPTs.
I was very happy to discover your great plugin, so I installed it.
I have 2 problems.
1 I miss an option to change the placeholder.
2 The first dropdown (follow the link) you find on position 3. This works well.
The second dropdown, 4th position, does not work.
Can I use 2 widgets in 1 page or not?
It would be awesome if the Recent Posts widget had additional options so that I could either “only show posts within category X” or “exclude posts within category X”. This would make it so much more useful on our membership website, where different membership levels shouldn’t necessarily see what’s been published and only accessible by another membership level.
Thanks for all your work. The plugin is great.
]]>The change from version 1.2.1 to 1.3.0 is causing me a problem with the display of Custom Post Type titles. Indeed, after the update to version 1.3.0 the titles appear in the widget with HTML coding (which are placed in the title to customize the formatting). Example: SKI
Looks more like: SKI
But appears as: <SPAN STYLE = “FONT-SIZE: 1.5EM;”> SKI </SPAN>
Do you have a solution for the titles to appear as in version 1.2.1, ie without the HTML styling additions?
I have screenshots to show if ever …
the Archive widget work mostly just fine. Count is correct but the url it produces is wrong. It produces …./slugname/2020/11 when it needs to product …./2020/11/?posttype=custom type.
If it is just a configuration issue I need help as I don’t see how to get rid of the slugname in the url.
Your description says it works for custom post types and taxonomies but I can’t see my custom taxonomies?
]]>Just FYI, I was able to get the archive widget part of plugin to work with CPT UI and Beaver Builder / Themer by REMOVING this line near the very bottom of widget-custom-post-type-archive.php
$link_html = str_replace( '?post_type=' . $posttype, '', $link_html );
This made the link output as 2020/11/?post_type=slugname instead of just 2020/11/slugname which was 404ing
Maybe this could be an official setting / frontend option in the future?
]]>So I am not sure if this is the right place for help with this question or not since it involves a few plugins that all work together, but I thought it made sense to start here. If I am incorrect, I apologize and appreciate any redirection advice you can offer.
I am currently using the following plugins together on my site:
– Custom Post Type UI
– Custom Post Type UI Extended
– Custom Post Type Widgets
– Custom Post Type Date Archives
– Custom Sidebars
and I have everything working and behaving perfectly except for one thing. When I go to a page that is using a custom post type, along with a custom siderbar, and custom widgets, the post links work as expected and the custom sidebar continues to show (as per the individual post options) and I have the archives widget link working perfectly too now showing the expected content and still showing the custom sidebar for that post type.
Where I am running into problems is when I choose one of the categories for that custom post type from the widget on the custom siderbar, the content loads as expected, but the custom siderbar is lost and the default regular sidebar is displayed.
So, I am not sure if am missing a setting or something on the custom sidebar part, or something within the custom post type widget. If you have any insight or ideas I reall appreciate the help. Thank you for this awesome plugin!
Blessings,
RevM
]]>Hello,
Thanks for a great plugin! I use a custom taxonomy called ‘visibility’ on my site to manage post visibility for logged-in and not-logged-in users. When a post has the term ‘loggedin’ associated with it I would like to exclude that post from being listed in the recent posts widget if the user is not logged in. Something like this:
add_action('after_setup_theme', 'jr_cptw_setup_hooks');
function jr_cptw_setup_hooks() {
add_filter('custom_post_type_widgets/recent_posts/widget_posts_args', 'jr_cptw_loggedin_users_only');
}
/**
* Hide recent posts with the taxonomy term 'loggedin' from logged-out users.
*/
function jr_cptw_loggedin_users_only($args) {
if (!is_user_logged_in()) {
$taxonomy_query = array(
'taxonomy' => 'visibility',
'terms' => 'loggedin',
'field' => 'slug',
'operator' => 'NOT IN',
);
$args->set('taxonomy_query', $taxonomy_query);
}
return $args;
}
Is it at all possible to do this? If so, how would I go about it?
Cheers,
Jen
I’m trying to use the widget_categories_dropdown_args filter to change the title of the dropdown category widget. I have this code in my functions.php:
function ChangeSelectTitle($cat_args){
$cat_args['show_option_none'] = __('Select Whatever');
return $cat_args;
}
add_filter('widget_categories_dropdown_args', 'ChangeSelectTitle');
I set it up previously and I’m pretty sure it was working. Any ideas?
Thanks
As can be seen at https://online.primalvinyasayoga.com/classes/muscle-energy-is-your-allie/, I’m realizing that if a post title has some HTML in it, so that it’s formatted better on output across the site, the Recent Posts Custom Post Type widget doesn’t recognize it, and outputs it as if the viewer wanted to see the code, rather than the formatted title. For example:
Primal Rehab<br><small>Behold – A Shoulder Expose Workshop</small>
Anyway to update the plugin so it renders the post title in a formatted fashion?
You can see how elsewhere on our site this becomes useful: https://online.primalvinyasayoga.com/start-here/workshops/
]]>HI, I NEED THE CPT ARCHIVE WIDGET TO INCLUDE ONLY POSTS FOR THE CURRENT AUTHOR. HOW CAN I MODIFY THE QUERY TO FILTER FOR AUTHOR?
]]>I am trying to display categories as a dropdown with a Categories (Custom Post Type) widget. The taxonomy I’m looking for doesn’t display in the dropdown list – although there are several others in the list: Categories category, Category element_category, & etc.
Also, I can see the taxonomy I want (Categories visit_category) in the Tag Cloud (Custom Post Type) widget – but not the Categories widget.
I checked the Add/Edit Taxonomies settings in CPT UI, and everything looks as expected there. Any ideas?
]]>Hi,
They show me 404 when I click on archive.
Hi there,
wondering if this site is multisite compatible?
My archive link redirect to 404 page.
]]>All the options are close to what I need except for one thing. Is there a way to show a drop-down list of posts by date [the same as the standard WordPress archive] but limited to a specified category. The idea being to have different archives displayed for different category pages.
Cheers
]]>Hello @thingsym, Thanks for this wonderful plugin. The only issue I have when you select “Archives Widget” from one CPT that have a translations with WPML, not appear any archive. Will you please give the solution as soon as possible. It will be really helpful. Thanks!
]]>When using the category widget as a dropdown, is it possible to change the title that appears actually on the dropdown? I can see there is a filter there but I can’t quite figure it out. I’ve tried this in my functions.php, but it’s not working:
function ChangeSelectTitleCustom($cat_args){
$cat_args['show_option_none'] = __( 'Select Whatever', 'custom-post-type-widgets' );
return $cat_args;
}
add_filter('widget_categories_dropdown_args', 'ChangeSelectTitleCustom');
Thanks
]]>I have one CPT and one hierarchical taxonomy with a dozen or so taxonomy terms. The taxonomy (categories) will show in the Category dropdown of the widget but when I select any of them the filtering isn’t apparently working because the page will just refresh and stay the same. I’m using Custom Post Types UI plugin to create these. I don’t have a live link to show for this, but could generate a demo site. If you’re into helping please let me know and I will do that.
]]>This plugin was exactly what I was looking for but I can’t get it to work other than Archives (Custom Post Types) which I set to my post type “Tips & Tricks” in the drop-down in the widget and it displays them with no problem. My problems are:
I created my post type and taxonomy using the plug-in CPT-UI (NOTE: my post type “Tips & Tricks” “Exclude from Search” is set to FALSE)
1. The Search (Custom Post Types) I set to my post type “Tips & Tricks” in the drop-down in the widget. When I do a search it doesn’t display anything from my “Tips & Tricks” posts but does show items from my regular posts. I wanted the opposite where it would exclude regular posts and only search “Tips & Tricks” posts.
2. The Category (Custom Post Type) drop-down in the widget does not have my “Tips Categories” as an option. I created “Tips Categories” taxonomy using CPT UI and attached it to Post Type: “Tips & Tricks”.
]]>