YMC
Forum Replies Created
-
Forum: Plugins
In reply to: [Filter & Grids] Remove empty terms from filtersGood Luck!
Forum: Plugins
In reply to: [Filter & Grids] Remove empty terms from filtersAt the moment, the filtering system provides management between different taxonomies taking into account their relations, as well as selected terms. You can use the default plugin settings or override them manually. To do this, use the corresponding hooks of the plugin (add_filter(‘ymc_filter_custom_extra_layout_FilterID’, ‘custom_extra_filter_layout’, 10, 6);), which will allow you to customize the filter according to your tasks. Here, you independently define the entire algorithm of the filter. This is a custom solution and it is not included in the default plugin settings (although for most tasks the basic settings are enough). For more detailed information, see the plugin documentation https://github.com/YMC-22/smart-filter.
Based on the above task, you need to place the wpDiscuz plugin shortcode inside the filter popup content. If so, you should use a hook called add_filter(‘ymc_popup_custom_layout_FilterID_LayoutID’, ‘func_custom’, 10, 2);
Then, inside the popup, you should override the default content. To insert the shortcode, use the following function call syntax:Forum: Plugins
In reply to: [Filter & Grids] Remove empty terms from filtersTry using these settings to display the terms in the filter bar
Hi!
Please clarify your task. What do you mean about wpDiscuz?Provide us with more detailed information about your issue.
Forum: Plugins
In reply to: [Filter & Grids] Loading post functionGood Luck!
Forum: Plugins
In reply to: [Filter & Grids] Loading post functionHi!
You should use the API JS plugin see documentation https://github.com/YMC-22/smart-filter#js-api-filter–grids.
You should first stop loading posts using the hook
wp.hooks.addAction(‘ymc_stop_loading_data’, ‘smartfilter’, ‘callback(elem)’);
Then, after that, get the data of the filter params object using JSON.parse(). After that, pack the changes again using JSON.stringify() and then make a request using the API plugin method, for example, YMCTools({target: ‘.data-target-ymcFilterID-LayoutID’}).apiGetPosts();
This whole algorithm involves making changes to the plugin settings with subsequent creation and launch of the request. We hope this will help you to implement your task.Forum: Plugins
In reply to: [Filter & Grids] Issue with “AND” Taxonomy Relation in Smart Filter PluginHi!
We are glad that you managed to implement your idea) You can send us a file with your code and our specialists, if possible, will evaluate it.
Good luck!
Forum: Reviews
In reply to: [Filter & Grids] Well-developed and comprehensiveThanks
Forum: Plugins
In reply to: [Filter & Grids] Issue with “AND” Taxonomy Relation in Smart Filter PluginGood Luck!
Forum: Plugins
In reply to: [Filter & Grids] Issue with “AND” Taxonomy Relation in Smart Filter PluginHi!
We would like to explain to you a little the principle of filtering posts by the “Taxonomy Relation” option. This option says: How to select posts from the specified taxonomies. It can be:
AND – posts that are simultaneously included in the specified taxonomy terms.
OR – posts belonging to any of the specified taxonomy terms.
Thus, it affects which taxonomies (more than one taxonomy) your posts will belong to. And since you only have one taxonomy, this parameter does not particularly affect the filtering results. Different terms are attached to your posts and, accordingly, the desired posts will be displayed depending on the selected term.
We suspect that you have this list (social, special, transformation, careб development, livingб complete) as terms and not categories (taxonomies). This is one category with several terms and that’s all.
In general, the plugin uses the logic of the global WP_Query object and all actions occur according to the algorithms of this object.Forum: Plugins
In reply to: [Filter & Grids] Elementor TemplateHi!
Do you mean that there is no icon in the post card, do we understand you correctly? This is most likely a filtering of HTML tags, since the icon is inserted as an img tag. You should use a custom post layout to override the default plugin templates. Use this filter: add_filter(‘ymc_post_custom_layout_545_1’, ‘my_custom_post_layout’, 10, 5);
Forum: Plugins
In reply to: [Filter & Grids] Long loading time (ajax)Hi!
You can use another plugin if our plugin does not work for you. All technical aspects were developed and are being developed by the company based on its own considerations.. Loading posts is carried out exclusively on the basis of the work of the WordPress core and nothing more. The speed of executing requests and server responses depends on the capacity of your hosting and the volume of information. We hope for your understanding.- This reply was modified 1 week, 6 days ago by YMC.
Forum: Plugins
In reply to: [Filter & Grids] Include or exclude posts by categoryHello. This goes beyond standard plug-in capabilities. To solve your problem, our team could develop a custom solution for you for a fee.
Forum: Plugins
In reply to: [Filter & Grids] Include or exclude posts by categoryYou manually add or exclude categories (taxonomies) of posts in your grid. This is how the plugin works.