YMC
Forum Replies Created
-
Forum: Plugins
In reply to: [YMC Filter] How to display posts that match the category archive pageHi!
Posts are filtered based on taxonomy terms. If this is an archive page, you should use the JS API Filter & Grids, namely the YMCTools({target: “.data-target-ymcFilterID-LayoutID”, terms: “termID”}).apiTermUpdate(option); method, which allows you to filter posts by the desired ID terms. To do this, you should use Javascript to implement the filter with your post grid. (see the plugin documentation
https://github.com/YMC-22/smart-filter#js-api-filter–gridsForum: Plugins
In reply to: [YMC Filter] Cannot Override Default Link Styles in a Custom Post LayoutGood Luck!
Forum: Plugins
In reply to: [YMC Filter] Cannot Override Default Link Styles in a Custom Post LayoutHi!
You can redefine styles either in your theme’s custom style file or directly in the plugin itself in the Custom CSS section (see screenshots) Examole:ymc-smart-filter-container-1 .post-entry .post-item .title a { color: green; font-size: 20px; font-family: 'Poppins';}We hope this helps you!
- This reply was modified 11 months ago by YMC.
Forum: Plugins
In reply to: [YMC Filter] Customize result appearanceHi!
You can override any elements in the filter using custom styles of CSS or in your theme or inside the plugin settings in the Advanced – Custom CSS section- This reply was modified 11 months, 2 weeks ago by YMC.
Forum: Plugins
In reply to: [YMC Filter] Highlighting of taxonomy valuesA common taxonomy that is attached to several different posttypes does not take into account the accuracy of counting the number of posts that are attached to the term. This feature works at the WordPress core level. Therefore, it is correct and recommended to create separate taxonomies and attach them to posttypes. The is_disabled class works on counting the number of posts attached to the term: $object_term->count === 0 and this is correct from the point of view of the WordPress core.
Forum: Plugins
In reply to: [YMC Filter] Highlighting of taxonomy valuesHi!
Please clarify what you mean:
When I create a grid to display posts for a specific post type, the “country” filter shows highlighted values when they shouldn’t.
Perhaps you mean those terms that do not have attached posts. In this case, they are inactive (not clickable).Forum: Plugins
In reply to: [YMC Filter] Custom Layout not workingGood Luck!
Forum: Plugins
In reply to: [YMC Filter] Custom Layout not workingselect custom layout in plugin settings
Forum: Reviews
In reply to: [YMC Filter] Its Fantastic!Thanks
Forum: Plugins
In reply to: [YMC Filter] Custom Layout not workingHi
You should paste this code into your website theme file called functions.php
this is the first thing. Then, you should check the filter ID and filter counter. Send us a link to the page of your website where you use the filter and we can help you.check in this filter add_filter(‘ymc_post_custom_layout_476_1’, ‘my_custom_post_layout’, 10, 5);
filter ID – 476 and counter – 1Forum: Plugins
In reply to: [YMC Filter] Post title Inherit font not loading in Firefox, Brave browsersApply the font name (custom CSS) specifically to the post title to override the plugin’s basic styles. You can do this directly in the plugin settings:
https://prnt.sc/tjoh0M_OG8FUForum: Plugins
In reply to: [YMC Filter] Post title Inherit font not loading in Firefox, Brave browsersHi!
All plugin fonts are inherited from parent properties of markup elements and are not installed or redefined in the site theme. Perhaps the font named ‘oswald’ is not installed on your computer. Check it on your side. This is not a plugin bug: all styles in the plugin are inherited from the current theme.Forum: Plugins
In reply to: [YMC Filter] Pagination is hidden because of its positionGood Luck!
Forum: Plugins
In reply to: [YMC Filter] Can I make it work with my own grid template?You should use the global WP_Query object – https://developer.ww.wp.xz.cn/reference/classes/wp_query/, and also use standard WordPress functions to get terms and process them. All this information is on the official WordPress website. For this, you will need knowledge of PHP, since the development will take place on the backend.
Forum: Plugins
In reply to: [YMC Filter] Can I make it work with my own grid template?In any case, you will need to create a custom post layout (using a hook) where you can implement your custom functionality inside the post card (getting an excerpt, etc.). By default, the plugin displays content (if there is any) or an excerpt of the post if there is no main content
But in the future, you should remake this post grid to our plugin so that there are no problems in the future with the implementation of functionality)