Changeset 3479036
- Timestamp:
- 03/10/2026 12:03:40 PM (3 weeks ago)
- Location:
- category-ajax-filter/trunk
- Files:
-
- 2 edited
-
category-ajax-filter.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
category-ajax-filter/trunk/category-ajax-filter.php
r3324079 r3479036 1 1 <?php 2 2 /* 3 Plugin Name: Category A jax Filter4 Description: Filter posts/custom post types by category without page reload. Easy to sort/filter and display posts on page with Ajax. It Supports Divi, Elementor and other page builders.5 Version: 2.8.4 3 Plugin Name: Category AJAX Filter – Advanced Filter for Posts & Custom Post Types 4 Description: Filter posts/custom post types by category without page reload. Easy to sort/filter and display posts on page with Ajax. It Supports Divi, Elementor and other page builders. 5 Version: 2.8.4.1 6 6 Author: Trusty Plugins 7 7 Author URI: https://trustyplugins.com … … 17 17 /*---- CONFIGURATION >>>> DEFINE CURRENT VERSION ----*/ 18 18 if (!defined('CAF_CURRENT_VERSION')) { 19 define('CAF_CURRENT_VERSION', '2.8.4 ');19 define('CAF_CURRENT_VERSION', '2.8.4.1'); 20 20 } 21 21 if (!defined('CAF_OPTIONS')) { … … 94 94 } 95 95 if (!defined('TC_CAF_PLUGIN_VERSION')) { 96 define('TC_CAF_PLUGIN_VERSION', '2.8.4 ');96 define('TC_CAF_PLUGIN_VERSION', '2.8.4.1'); 97 97 } 98 98 } -
category-ajax-filter/trunk/readme.txt
r3324079 r3479036 1 === Category A jax Filter===1 === Category AJAX Filter – Advanced Filter for Posts & Custom Post Types === 2 2 Contributors: TrustyPlugins 3 3 Donate link: https://www.buymeacoffee.com/jasveer 4 Tags: Filter, elementor, divi, category-filter, post-filter4 Tags: ajax filter, category filter, voice search filter, taxonomy filter, wordpress filter 5 5 Requires at least: 6.0 6 Tested up to: 6. 77 Stable tag: 2.8.4 6 Tested up to: 6.9 7 Stable tag: 2.8.4.1 8 8 Requires PHP: 7.0 9 9 License: GPL3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html 11 11 12 Filter blog posts/custom post types by custom taxonomy/category without page reload and with pagination too. It has different filter and post layouts. 12 13 Filter WordPress posts and custom post types by categories, tags, and taxonomies with AJAX-powered filtering — no page reload required. 13 14 14 15 == Description == 15 <h4>Support Elementor Builder</h4> 16 Filter posts/custom post type's posts by category without reload the page. Select specific taxonomy and terms to show on the frontend. It uses ajax request to filter the posts with many pre-build layouts. Use awesome admin panel to control everything on the frontend like filter layouts, filter color combination, post layouts, post color combination, font size, font-family, pagination etc. Showcase for any type of posts/custom post types. 17 <h4>Support Divi Builder</h4> 18 Sort Posts/Custom post Types with Ajax functionality. Sort posts with Categories without page reload. It seamlessly loads the posts in a specific section without page reload and with pagination. 19 20 == Blog Filter with Ajax== 21 Filter your blogs or articles with ajax now. It will work with taxonomy selection and specific terms too. You can select custom/taxonomy, categories, Tags to filter the blog posts with ajax/without page reload. Pagination will work without page reload. 22 23 == Custom Post Type & Taxonomies Support== 24 It does not work only for blog posts, It will support custom post types too. You can filter custom post types posts with ajx filter. You can select specific custom taxonmoies and their terms to showcase. In PRO version you can modify the post layout too. If you want to use custom fields in posts then you can achieve it by using PRo plugin. 25 26 == Filter any Posts without page Reload== 27 CAF plugin will work to filter the posts without any page reload. You can browse any categories and pagination too without any page Reload. 28 29 <h4>Support WP Bakery</h4> 30 31 == Whats in PRO? == 32 1. Analytics Feature, Check your used filter's insights [clicks] 33 2. Overwrite/Modify any of the Filter/Post Layout OR templates Modules to your used theme so it will not effected after plugin upgrade. 34 3. Developer Hooks 35 4. Selection to Multiple Taxonomy/ Terms 36 5. Multiple Taxonomy Filter Added 37 6. Default Terms Selection on Page loads 38 7. Auto term selection on Category page 39 8. Search bar Feature 40 9. More filters/Post Layouts Added 41 10. Load More Button 42 11. Sorting options 43 12. Ability to hide/show post elements on any layout [title,image,meta,categories,read more,content] 44 13. Post Animation Effects 45 14. Translation feature for used default strings [All,read more etc] 46 15. Font-Awesome Icons for filter terms/categories 47 16. Google Fonts family 48 17. Scroll to CAF Container on category click 49 18. Parent/child category terms filter Layout 50 51 [youtube https://www.youtube.com/watch?v=OOnLUnPuYgA] 52 <a href='https://trustyplugins.com' target='_blank'>CAF PRO DEMO</a> | <a href='https://trustyplugins.com' target='_blank'>BUY PRO</a> 53 54 <h4>Do you need filter for woo products/shop ?</h4> 55 <a href='https://wordpress.org/plugins/trusty-woo-products-filter/' target='_blank'>Trusty Woo Products Filter</a> 56 57 == Installation == 58 59 [youtube https://www.youtube.com/watch?v=iwHcM57q92U] 60 61 1. Upload the entire 'category-ajax-filter' folder to the '/wp-content/plugins/' directory. 62 2. Activate the plugin through the 'Plugins' menu in WordPress. 63 64 == How It Works == 65 [youtube https://www.youtube.com/watch?v=iwHcM57q92U] 66 1. After plugin activation you will get new menu 'Category Filter' 67 2. Click on 'Add new' and do your layout settings for frontend. 68 3. Select filter layout and post layout with specific options. 69 4. Go to 'shortcode' Tab and copy your shortcode and paste in any section of the page. 70 71 == Best Usage == 72 73 1. Import Layout from our official demo website <a href='https://trustyplugins.com' target='_blank'>trustyplugins.com</a> 74 2. Go to layouts page and get exported JSON code. 75 3. Now you just need to put that JSON code in import tab of plugin's admin panel. 76 77 4. Click on Import and CHEERS!!! 78 === Watch Videos === 16 **Category AJAX Filter** lets you instantly filter **WordPress posts and custom post types** using **categories, taxonomies and tags** with AJAX-powered filtering — **without reloading the page**. 17 18 It includes **pre-built layouts** and an **easy-to-use admin panel** to manage **categories, tags, styling options, pagination and more**. Fully compatible with **Elementor, Divi, WPBakery and Gutenberg**, CAF helps you create powerful **WordPress post filters and custom post type filters** to organize and display your content in a fast and user-friendly way. 19 20 21 ## Key Features of Category AJAX Filter (Free) ## 22 23 * **Supports Custom Post Types and Taxonomies** – Filter content from any post type including blogs, portfolios, directories and more. 24 * **3 Pre-built Filter Layouts** – Quickly create filters using ready-made layouts without complex setup. 25 * **4 Pre-built Post Layouts** – Display filtered results using multiple post layouts for different design styles. 26 * **Flexible Design Options** – Customize **colors, fonts, sizing, spacing, and layout** to match your website design. 27 * **Easy-to-use Admin Panel** – Simple controls make it easy to configure filters and manage settings. 28 * **Responsive and Lightweight** – Fully optimized for **mobile, tablet and desktop** with fast performance. 29 * **Regular Updates and Quick Support** – Continuous improvements and support to keep your site running smoothly. 30 31 32 33 34 ## Live Demos ( Free ) – See Category AJAX Filter in Action ## 35 36 Check out the live demo to explore **AJAX-powered filtering**, different layouts and how posts update instantly without reloading the page. 37 * **[Simple Blogs](https://trustyplugins.com/layouts/caf-layout-1/)** 38 * **[Boxed Title](https://trustyplugins.com/layouts/caf-layout-2/)** 39 * **[Glossy Look](https://trustyplugins.com/layouts/caf-layout-3/)** 40 * **[Full Width](https://trustyplugins.com/layouts/caf-layout-4/)** 41 * **[Filter in Sidebar](https://trustyplugins.com/layouts/filter-in-sidebar/)** 42 * **[Dropdown Filter](https://trustyplugins.com/layouts/caf-layout-4/)** 43 44 45 46 ## Perfect For Many Types of WordPress Websites ## 47 48 Category AJAX Filter is ideal for websites with large amounts of content where visitors need a quick way to find relevant posts or listings. 49 50 It works great for: 51 52 * **Blog Category Filtering** – Let readers filter blog posts by **categories and tags**. 53 * **Custom Post Type Websites** – Easily filter content from **portfolio items, events, listings or any custom post type**. 54 * **Portfolio Websites** – Display projects and allow visitors to filter them by **categories or taxonomies**. 55 * **Directory Websites** – Organize and filter listings using custom taxonomies. 56 * **Content-heavy Websites** – Help users quickly narrow down results and discover relevant content. 57 58 59 With **AJAX-powered filtering**, visitors can instantly view matching posts **without reloading the page**, creating a smooth and modern browsing experience. 60 61 62 63 ## Supported Post Types & Taxonomies ## 64 65 **Category AJAX Filter** works with default WordPress content as well as custom content structures. 66 67 * **Default WordPress Posts** – Filter blog posts by **categories and tags** with instant AJAX results. 68 * **Custom Post Types** – Display and filter **portfolio items, recipes, events, listings or any custom post type**. 69 * **WordPress Categories & Tags** – Use built-in **categories and tags** to refine results and organize content. 70 * **Custom Taxonomies & Terms** – Filter posts using **custom taxonomies and taxonomy terms** created for your custom post types. 71 72 = Compatible Custom Post Type Plugins = 73 74 Category AJAX Filter works with plugins used to create **custom post types and taxonomies**. 75 76 The plugin has been tested with: 77 78 * **[Advanced Custom Fields (ACF)] (https://wordpress.org/plugins/advanced-custom-fields/)** 79 * **[Custom Post Type UI (CPT UI)] (https://wordpress.org/plugins/custom-post-type-ui/)** 80 * **Custom-coded post types and taxonomies** 81 82 83 84 ## Compatible With All Major Page Builders ## 85 86 **Category AJAX Filter (CAF)** is **shortcode-based**, allowing you to place filters **anywhere on your website**. 87 88 CAF works seamlessly with all major WordPress page builders, including **Gutenberg, [Elementor] (https://wordpress.org/plugins/elementor/), [Divi] (https://www.elegantthemes.com/gallery/divi/) , WPBakery, Oxygen etc**. 89 90 No matter which builder you use, you can easily add filters to **posts, custom post types, categories, and taxonomies** without complex setup. 91 92 Simply place the shortcode in your page, post, or builder layout and your **AJAX-powered filters** will start working instantly. 93 94 95 96 97 ## How It Works ## 98 99 Getting started with **Category AJAX Filter (CAF)** is quick and simple. Watch the video below to see how you can create and display filters for your posts and custom post types. 100 101 https://www.youtube.com/watch?v=iwHcM57q92U&t 102 103 104 ## Category AJAX Filter Pro Features ## 105 106 Upgrade to **[Category AJAX Filter Pro] (https://trustyplugins.com/product/filter-posts-by-category-pro/)** to unlock advanced filtering capabilities, more layouts, powerful integrations and enhanced user experience for content-heavy websites. 107 108 = Multiple Taxonomies Support = 109 CAF Pro allows visitors to filter content using **multiple taxonomies at the same time**, making it easier to narrow down results and discover relevant posts or listings. 110 For example, users can filter content by **Category, Tag** and a **custom taxonomy** together to quickly find the most relevant results. 111 112 * **[See Multiple Taxonomy Filtering Demo] (https://caf.trustyplugins.com/multiple-taxonomy-dropdown-filter-modern/)** 113 114 = CAF Pro Demo Layouts (15+ Filter & Post Layout Examples) = 115 116 CAF Pro gives you access to **15+ additional filter and post layouts** to create more engaging filtering experiences. You can use filter styles like **Alphabet filters, Voice Search, Checkbox filters with icons and advanced search layouts** to make content discovery easier for visitors. 117 118 For displaying results, choose from dynamic post layouts such as **Timeline, Carousel, Masonry, Grid variations and more**, allowing you to present your posts in visually appealing and interactive ways. 119 120 * **[Parent Child Category Filter] (http://caf.trustyplugins.com/parent-child-category-filter-vertical/)** 121 * **[Multiple Taxonomy Filter] (http://caf.trustyplugins.com/multiple-taxonomy-filter/)** 122 * **[Multiple Taxonomy Horizontal Dropdown Filter (Modern)] (http://caf.trustyplugins.com/multiple-taxonomy-dropdown-filter-modern/)** 123 * **[Multiple Taxonomy Filter Dropdown] (http://caf.trustyplugins.com/multiple-taxonomy-dropdown-filter/)** 124 * **[Alphabetical Navigation Filter] (http://caf.trustyplugins.com/alphabetical-navigation-filter/)** 125 * **[Tabs Filter] (http://caf.trustyplugins.com/tabs-filter/)** 126 * **[Multiple Checkbox Filter] (http://caf.trustyplugins.com/layouts/caf-full-width-timeline/)** 127 * **[Multiple Filters on Page] (http://caf.trustyplugins.com/multiple-filters-on-page/)** 128 * **[Simple Timeline] (http://caf.trustyplugins.com/layouts/caf-simple-timeline/)** 129 * **[Full Width Timeline] (http://caf.trustyplugins.com/layouts/caf-full-width-timeline/)** 130 * **[Full Rounded Corner] (http://caf.trustyplugins.com/layouts/caf-full-rounded-corner/)** 131 * **[Carousel Slider] (http://caf.trustyplugins.com/layouts/caf-carousel-slider/)** 132 * **[Masonry Layout] (http://caf.trustyplugins.com/layouts/caf-masonry-layout/)** 133 * **[Gradient Border] (http://caf.trustyplugins.com/layouts/caf-gradient-border/)** 134 * **[Masonry With Description] (http://caf.trustyplugins.com/layouts/caf-masonry-with-description/)** 135 136 = Elementor Loop Builder Support = 137 138 CAF Pro allows you to add powerful filters to layouts created with **Elementor Loop Builder**. 139 140 First, design your **post or custom post type layout** using Elementor’s Loop Builder. Then apply **CAF AJAX filters** on top of that layout so visitors can filter the displayed content using **categories, tags, or taxonomies**. 141 142 When a user selects a filter, the results update **instantly on the same Elementor layout without reloading the page**. This makes your Elementor designs more interactive and helps visitors quickly find the content they need. 143 144 145 = Analytics Feature = 146 CAF Pro includes a built-in **Analytics feature** that helps you understand how visitors interact with your filters. 147 148 You can track **total filter clicks**, see clicks for **specific taxonomies, categories and terms**, and view statistics based on time such as **today’s activity or all-time usage**. 149 150 This helps you understand which filters are used the most and optimize your content for better user experience. 151 152 = Search Feature with Voice Search = 153 154 CAF Pro includes an advanced **search filter** that allows visitors to quickly find content by typing keywords or using **voice search [Demo] (https://caf.trustyplugins.com/layouts/caf-full-width-timeline/)**. This makes searching faster and more convenient, especially on mobile devices. 155 156 = Advanced Pagination Options = 157 158 CAF Pro provides flexible pagination options to improve content browsing. You can display results using **Load More buttons, AJAX pagination or traditional navigation**, allowing visitors to explore more content without refreshing the page. 159 160 = Active Filters Option = 161 162 CAF Pro can display **active filters** so users can easily see which filters are currently applied. Visitors can quickly **remove individual filters or reset them** to explore more results without confusion. 163 164 ** Additional Features in CAF Pro ** 165 * Multiple taxonomy & term selection 166 * Default terms (category) on page load 167 * Icons for filter terms and categories (in Filters) 168 * Sorting options for filtered results 169 * Hide or show meta elements (date, author, comment count, etc.) 170 * Post animation effects 171 * Translate default text strings (e.g., “All”, “Read More”) 172 * Font Awesome icon support 173 * Google Fonts integration 174 * Scroll to results container on filter click 175 * Parent and child category filters 176 * Template overwrite support (safe during plugin updates) 177 * Developer hooks for advanced customizations 178 * Priority support 179 180 https://www.youtube.com/watch?v=OOnLUnPuYgA 181 182 ## Import Ready - Made Layouts ## 183 184 Quickly set up ready-made designs by importing layouts directly from our **Category AJAX Filter demo page**. 185 186 1. Visit the specific demo page and copy the exported **JSON code**. 187 2. Paste the code into the **Import tab** of the plugin’s admin panel. 188 3. Click **Import**, and your layout will be ready to use. 189 79 190 https://www.youtube.com/watch?v=uyEhRD0RiP0 80 191 81 82 83 84 == Frequently Asked Questions == 85 = Is it compatible with custom post types too? = 86 Yes. You can use it with any custom post type. 87 88 = Is it compatible with Woo-Commerce too? = 89 Yes. After release of 2.7.2 , CAF supports to woocommerce products too. But it will stay with his normal post layout funtionality. 90 It does not add price, add to cart etc field to the post layout. In the PRO version of CAF you can add price etc fields too with the custom code. 91 92 = Whats included in its admin panel? = 93 You can set specific filter layout, post layout, pagination, color combination and more options in your hand to look it beautiful. 94 95 = Can we select specific taxonomies of custom post type? = 96 Yes you can select specific taxonomies of any custom post type. 97 98 = Can we select specific terms of specific taxonomy? = 99 Yes you can select specific terms of any taxonomy. 100 101 == Screenshots == 192 ## Coming Soon – CAF Builder ## 193 194 We’re working on **CAF Builder**, a visual builder that will give you full control over how your filters and layouts are created. 195 196 You’ll be able to design the **UI of filters and post layouts** using built-in design tools, while also controlling the functionality using **taxonomies, custom fields, and other content data**. This will allow you to build flexible filters and fully customized layouts based on your website content. 197 198 CAF Builder is designed to make advanced filtering easier, more flexible, and highly customizable. Stay tuned for upcoming updates. 199 200 201 ## Screenshots ## 102 202 1. screenshot-1.png 103 203 2. screenshot-2.png 104 204 3. screenshot-3.png 105 205 206 207 ## Frequently Asked Questions ## 208 209 **Can I use this plugin with custom post types?** 210 Yes. Category AJAX Filter works with custom post types as well as default WordPress posts. You can filter content using categories, tags, or custom taxonomies. 211 212 **Does this plugin work with page builders like Elementor?** 213 Yes. Category AJAX Filter is shortcode-based, so you can place filters inside Elementor, Gutenberg, Divi, WPBakery, Oxygen, or any page builder that supports shortcodes. 214 215 **Does the plugin reload the page when filtering posts?** 216 No. The plugin uses AJAX filtering, which means results update instantly without refreshing the page. 217 218 **Can I customize the design of the filters and posts?** 219 Yes. You can customize colors, fonts, sizes, layouts, and other design settings from the plugin’s admin panel. 220 221 **Does the plugin support custom taxonomies?** 222 Yes. Category AJAX Filter supports custom taxonomies and taxonomy terms, allowing you to create filters for custom post type content. 223 224 **Is the plugin mobile friendly?** 225 Yes. Category AJAX Filter is fully responsive and works smoothly on mobile, tablet, and desktop devices. 226 227 **Is it compatible with WooCommerce too?** 228 Yes, since version 2.7.2, Category AJAX Filter supports WooCommerce products, but only with its standard post layout functionality. It does not add product-specific fields such as price or add-to-cart buttons by default. In the Pro version, you can include fields like price with custom code. 229 For full WooCommerce product filtering with dedicated features, we’ve also developed a separate plugin — Trusty Products Filter. 230 231 **Can I select specific taxonomies for a custom post type?** 232 Yes. You can choose and display specific taxonomies for any custom post type, giving you full control over how your content is filtered. 233 234 **Can I select specific terms from a taxonomy?** 235 Yes. You can select and display specific terms from any taxonomy, allowing you to control which categories, tags, or custom taxonomy terms appear in your filters. 236 237 **Does the plugin work with custom post types created by other plugins?** 238 Yes. Category AJAX Filter works with custom post types and taxonomies created by plugins like Advanced Custom Fields (ACF), Custom Post Type UI (CPT UI), or custom-coded post types. 239 240 106 241 == Changelog == 242 243 = 2.8.4.1 = (10/03/2026) 244 * Readme updated. 107 245 108 246 = 2.8.4 = (08/07/2025) … … 358 496 = 1.0 = 359 497 First version of plugin. 360 361 362
Note: See TracChangeset
for help on using the changeset viewer.