dizajner
Forum Replies Created
-
Thank you very much for your feedback! I will wait for the next update. In the meantime, I had drastically modified the plugin code.
Furthermore, when I activate query debugging mode, I see that the query is set to orderby => date by default. Is it possible to give a choice here with some common WP_Query orderby parameters because in my case, I need to order my cpt by ‘menu_order’ (I have a ‘product’ cpt with more 2000 posts, reordered by a complex logic with 2 of its taxonomies. In short, I have a custom script on my site that reorders my CPTs on demand from this native field). In my Elementor loop grid block, I created a query ID ‘sortbymenuorder’ that sets the orderby => menu_order, but I feel like it loses it as soon as I apply a filter in my filter widget by applying orderby => date by default.
Similarly, for this point, I also temporarily modified the plugin code to achieve my desired result.
Thanks
Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] Troubleshooting grouped productHi @albertomrtn
In the FAQ section of your landing page for the YITH Request a Quote for WooCommerce plugin, you have the following question and answer:
Does This plugin work well with grouped products?
Yes, the plugin works with grouped products too. Every product selected from the group will be added to the quote list as an individual item.Forum: Plugins
In reply to: [Better Post & Filter Widgets for Elementor] Order by term order issueHi,
Thank you for the update. However, it has not resolved my ordering issue, i.e. in my child terms, the display returns the reverse order of $lowterms.
I have found the issue.
In the code, you do an array_pop( $terms_stack ), then an array_reverse( $child_terms ).
In a correct use case, you would need to do an array_shift($terms_stack), then an array_reverse( $child_terms ). -> Line 3226 of class-bpfwe-filter-widget.php
Or, if that is not the cause of the ordering problem, you need to find a solution so that the order returned to the front end is the same as the order in $lowterms.
Furthermore, to summarise, the order displayed is not the same as that of get_terms with the $args provided.
Can you look into correcting this? I have overwritten this function in the code directly on my end to make it work.
Thanks
Forum: Plugins
In reply to: [Better Post & Filter Widgets for Elementor] Order by term order issueI found the reason why it doesn’t work. I use Colorlib’s Simple Custom Post Order plugin to order my posts and terms. They say that custom ordering only works if you don’t use sorting or sort by.
In your plugin, I don’t have the option to disable sorting by. I only have ‘name’, ‘slug’, ‘count‘, ‘term group’, ‘term order’, and ‘term id’.
I need to be able to select ‘none’ for ‘sort by’ so that my custom order is taken into effect, as if it were the get_terms query without sort by parameters.
Can you add this option ?
Forum: Plugins
In reply to: [Better Post & Filter Widgets for Elementor] Order by term order issueHi,
I just activated it; it wasn’t activated before. I can now move my order, but there is no effect on ASC or DESC.If I want to put it in the order I want, I have to put the first one last, and so on.
Forum: Plugins
In reply to: [Better Post & Filter Widgets for Elementor] Condition multiples taxonomiesHi Dara,
Thank you for your feedback and analysis.Can you reply to this message and close this ticket when this plugin modification is deployed? (ASAP I hope 🙂 )
Cheers