{"id":133727,"date":"2020-12-18T21:15:32","date_gmt":"2020-12-18T21:15:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/related-categories-for-woocommerce\/"},"modified":"2025-09-02T19:34:31","modified_gmt":"2025-09-02T19:34:31","slug":"related-categories-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/lo.wordpress.org\/plugins\/related-categories-for-woocommerce\/","author":18216844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.1","stable_tag":"2.0.1","tested":"6.8.5","requires":"4.7","requires_php":"","requires_plugins":null,"header_name":"Related Categories for WooCommerce","header_author":"WPFactory","header_description":"Add \"Related categories\" section to single product pages in WooCommerce.","assets_banners_color":"ecf4f8","last_updated":"2025-09-02 19:34:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpfactory.com\/item\/related-categories-for-woocommerce\/","header_author_uri":"https:\/\/wpfactory.com","rating":5,"author_block_rating":0,"active_installs":70,"downloads":6062,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.6.0":{"tag":"1.6.0","author":"algoritmika","date":"2020-12-18 21:15:55"},"1.7.0":{"tag":"1.7.0","author":"algoritmika","date":"2021-01-17 23:37:09"},"1.8.0":{"tag":"1.8.0","author":"algoritmika","date":"2021-03-16 13:51:15"},"1.8.1":{"tag":"1.8.1","author":"algoritmika","date":"2021-05-06 21:13:29"},"1.9.0":{"tag":"1.9.0","author":"algoritmika","date":"2021-09-22 21:04:13"},"1.9.1":{"tag":"1.9.1","author":"algoritmika","date":"2021-11-15 16:30:01"},"1.9.2":{"tag":"1.9.2","author":"algoritmika","date":"2022-04-13 15:10:45"},"1.9.3":{"tag":"1.9.3","author":"wpcodefactory","date":"2022-11-14 21:36:31"},"1.9.4":{"tag":"1.9.4","author":"wpcodefactory","date":"2023-06-18 17:57:11"},"1.9.5":{"tag":"1.9.5","author":"wpcodefactory","date":"2023-07-02 09:47:40"},"1.9.6":{"tag":"1.9.6","author":"wpcodefactory","date":"2023-09-26 17:47:56"},"1.9.7":{"tag":"1.9.7","author":"wpcodefactory","date":"2024-07-31 05:53:30"},"1.9.8":{"tag":"1.9.8","author":"wpcodefactory","date":"2025-06-13 22:08:19"},"1.9.9":{"tag":"1.9.9","author":"wpcodefactory","date":"2025-06-18 21:13:56"},"2.0.0":{"tag":"2.0.0","author":"wpcodefactory","date":"2025-06-20 14:34:01"},"2.0.1":{"tag":"2.0.1","author":"wpcodefactory","date":"2025-09-02 19:34:31"}},"upgrade_notice":{"1.0.0":"<p>This is the first release of the plugin.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2971949,"resolution":"128x128","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2971949,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2971949,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2971949,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.6.0","1.7.0","1.8.0","1.8.1","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9","2.0.0","2.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Related Categories for WooCommerce - Frontend."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[610,2663,161414,288,286],"plugin_category":[45,57],"plugin_contributors":[78783,80665,178791,189606],"plugin_business_model":[216238],"class_list":["post-133727","plugin","type-plugin","status-publish","hentry","plugin_tags-categories","plugin_tags-related","plugin_tags-related-categories","plugin_tags-woo-commerce","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_category-taxonomy","plugin_contributors-anbinder","plugin_contributors-karzin","plugin_contributors-omardabbas","plugin_contributors-wpcodefactory","plugin_business_model-commercial","plugin_committers-algoritmika","plugin_committers-wpcodefactory","plugin_support_reps-anbinder","plugin_support_reps-karzin","plugin_support_reps-tahaamin"],"banners":{"banner":"https:\/\/ps.w.org\/related-categories-for-woocommerce\/assets\/banner-772x250.png?rev=2971949","banner_2x":"https:\/\/ps.w.org\/related-categories-for-woocommerce\/assets\/banner-1544x500.png?rev=2971949","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/related-categories-for-woocommerce\/assets\/icon.svg?rev=2971949","icon":"https:\/\/ps.w.org\/related-categories-for-woocommerce\/assets\/icon.svg?rev=2971949","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Related Categories for WooCommerce<\/strong> plugin lets you add \"Related categories\" section (similar to the standard \"Related products\" section) to the single product and\/or shop (i.e. archives) pages in WooCommerce.<\/p>\n\n<h3>\u2705 Main Features<\/h3>\n\n<ul>\n<li>Automatically add \"related categories\" section to the <strong>single product<\/strong> pages and\/or to <strong>shop<\/strong> pages.<\/li>\n<li>Set categories <strong>limit<\/strong> (i.e. number of categories).<\/li>\n<li>Set number of <strong>columns<\/strong>.<\/li>\n<li><strong>Sort<\/strong> categories by name, ID, random, count, etc.<\/li>\n<li><strong>Automatically relate categories<\/strong> by siblings, parents, children, etc.<\/li>\n<li>Set <strong>position<\/strong> for the \"related categories\" section.<\/li>\n<li><strong>Customize templates<\/strong>, e.g. set header, footer and item HTML templates.<\/li>\n<li>Optionally display related categories with a <strong>widget<\/strong> and\/or with a <strong>shortcode<\/strong>.<\/li>\n<li>And more...<\/li>\n<\/ul>\n\n<h3>\ud83c\udfc6 Premium Version<\/h3>\n\n<p>With <a href=\"https:\/\/wpfactory.com\/item\/related-categories-for-woocommerce\/\">Related Categories for WooCommerce Pro<\/a> you can <strong>manually relate<\/strong> categories on:<\/p>\n\n<ul>\n<li>per <strong>product<\/strong> basis,<\/li>\n<li>per product <strong>category<\/strong> basis,<\/li>\n<li>per product <strong>tag<\/strong> basis, and\/or<\/li>\n<li>per product <strong>custom taxonomy<\/strong> (e.g. product brands) basis.<\/li>\n<\/ul>\n\n<h3>\ud83d\uddd8 Feedback<\/h3>\n\n<ul>\n<li>We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!<\/li>\n<li><a href=\"https:\/\/wpfactory.com\/item\/related-categories-for-woocommerce\/\">Visit plugin site<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Start by visiting plugin settings at \"WPFactory &gt; Related Categories\".<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20your%20plugin%20support%20multi-language%3F'><h3>Does your plugin support multi-language?<\/h3><\/dt>\n<dd><p>Yes, for WPML and Polylang translations, you can use our <code>[alg_wc_related_categories_translate]<\/code> shortcode directly in Templates.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.1 - 02\/09\/2025<\/h4>\n\n<ul>\n<li>WC tested up to: 10.1.<\/li>\n<\/ul>\n\n<h4>2.0.0 - 20\/06\/2025<\/h4>\n\n<ul>\n<li>Fix - Translation loading fixed.<\/li>\n<li>Fix - Deprecated \"Creation of dynamic property\".<\/li>\n<li>Dev - WPFactory Key Manager - Move to the <code>init<\/code> hook.<\/li>\n<li>Dev - Security - Escape output.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Coding standards improved.<\/li>\n<\/ul>\n\n<h4>1.9.9 - 18\/06\/2025<\/h4>\n\n<ul>\n<li>Fix - Meta boxes were missing.<\/li>\n<li>Dev - Improved WPFactory menu.<\/li>\n<\/ul>\n\n<h4>1.9.8 - 13\/06\/2025<\/h4>\n\n<ul>\n<li>Fix - Deprecated \"Creation of dynamic property\".<\/li>\n<li>Dev - Added key manager.<\/li>\n<li>Dev - Added WPFactory menu.<\/li>\n<li>WC tested up to: 9.9.<\/li>\n<li>Tested up to: 6.8.<\/li>\n<\/ul>\n\n<h4>1.9.7 - 31\/07\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 9.1.<\/li>\n<li>Tested up to: 6.6.<\/li>\n<\/ul>\n\n<h4>1.9.6 - 26\/09\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 8.1.<\/li>\n<li>Tested up to: 6.3.<\/li>\n<li>Update plugin logo, banner.<\/li>\n<\/ul>\n\n<h4>1.9.5 - 02\/07\/2023<\/h4>\n\n<ul>\n<li>Dev \u2013 \"High-Performance Order Storage (HPOS)\" compatibility.<\/li>\n<\/ul>\n\n<h4>1.9.4 - 18\/06\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 7.8.<\/li>\n<li>Tested up to: 6.2.<\/li>\n<\/ul>\n\n<h4>1.9.3 - 14\/11\/2022<\/h4>\n\n<ul>\n<li>WC tested up to: 7.1.<\/li>\n<li>Tested up to: 6.1.<\/li>\n<li>Readme.txt updated.<\/li>\n<li>Deploy script added.<\/li>\n<\/ul>\n\n<h4>1.9.2 - 13\/04\/2022<\/h4>\n\n<ul>\n<li>Dev - Single - Position Options - \"Before single product\" and \"After single product\" positions added.<\/li>\n<li>Tested up to: 5.9.<\/li>\n<li>WC tested up to: 6.4.<\/li>\n<\/ul>\n\n<h4>1.9.1 - 15\/11\/2021<\/h4>\n\n<ul>\n<li>Dev - Developers - <code>alg_wc_related_categories_single_product_category_ids<\/code> filter added.<\/li>\n<li>Dev - Settings - Descriptions updated.<\/li>\n<li>WC tested up to: 5.9.<\/li>\n<\/ul>\n\n<h4>1.9.0 - 22\/09\/2021<\/h4>\n\n<ul>\n<li>Fix - Possible PHP parse error fixed.<\/li>\n<li>Dev - All admin settings input is properly sanitized now.<\/li>\n<li>Dev - Plugin is initialized on the <code>plugins_loaded<\/code> action now.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 5.7.<\/li>\n<li>Tested up to: 5.8.<\/li>\n<\/ul>\n\n<h4>1.8.1 - 06\/05\/2021<\/h4>\n\n<ul>\n<li>Fix - Template Options - Template type - Custom - \"Hide empty\" option fixed.<\/li>\n<li>WC tested up to: 5.2.<\/li>\n<\/ul>\n\n<h4>1.8.0 - 16\/03\/2021<\/h4>\n\n<ul>\n<li>Fix - Frontend - <code>output_related_categories_single()<\/code> - <code>global $product<\/code> removed.<\/li>\n<li>Dev - Advanced - \"Transients\" options added.<\/li>\n<li>Dev - Archives - Relate Options - Current - \"Always show first\" option added.<\/li>\n<li>Dev - Archives - Template Options - Template type: Custom - <code>%is_active%<\/code> placeholder added.<\/li>\n<li>Dev - Archives - Advanced - \"Visibility\" option added. Same option added to the \"Related Categories: Archives\" widget settings as well.<\/li>\n<li>Dev - Widget - 'Override \"Relate Options\" in widget settings' option added.<\/li>\n<li>Dev - Widget - Template Options - Default values updated.<\/li>\n<li>Dev - Widget - Settings restyled (section titles added).<\/li>\n<li>Dev - Settings - Relate Options - Section split into \"Relate Options\" and \"Relate Manually\".<\/li>\n<li>Dev - Settings - Descriptions updated.<\/li>\n<li>Dev - Settings - <code>alg_wc_related_categories_after_save_settings<\/code> action added.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 5.1.<\/li>\n<li>Tested up to: 5.7.<\/li>\n<\/ul>\n\n<h4>1.7.0 - 17\/01\/2021<\/h4>\n\n<ul>\n<li>Fix - Image Options - Image size - Was applied only if the \"Placeholder image\" option was not empty. This is fixed now.<\/li>\n<li>Fix - Loading \"per product\" and \"per category\" settings only if section (\"Single\" or \"Archives\") is enabled.<\/li>\n<li>Dev - Relate Options - \"Per tag\" option added.<\/li>\n<li>Dev - Relate Options - \"Per custom taxonomy\" option added.<\/li>\n<li>Dev - Position Options - \"Widget\" option added.<\/li>\n<li>Dev - Template Options - \"Template type\", \"Template type: Custom\" and \"Template type: Custom: Glue\" options added.<\/li>\n<li>Dev - Image Options - \"Remove image\" option added.<\/li>\n<li>Dev - Shortcodes - Atts are now customizable in <code>[alg_wc_related_categories_single]<\/code> and <code>[alg_wc_related_categories_loop]<\/code> shortcodes.<\/li>\n<li>Dev - Localization - <code>load_plugin_textdomain()<\/code> moved to the <code>init<\/code> action.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Developers - <code>alg_wc_related_categories_single<\/code> and <code>alg_wc_related_categories_loop<\/code> filters added.<\/li>\n<li>WC tested up to: 4.9.<\/li>\n<\/ul>\n\n<h4>1.6.0 - 17\/12\/2020<\/h4>\n\n<ul>\n<li>Dev - Advanced - \"Multi-language\" options added.<\/li>\n<li>Dev - Settings - Order by - Description updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Free plugin version released.<\/li>\n<\/ul>\n\n<h4>1.5.0 - 14\/12\/2020<\/h4>\n\n<ul>\n<li>Dev - General Options - Order by - \"Count\" option added.<\/li>\n<li>Dev - Image Options - \"Image size\" option added.<\/li>\n<li>Dev - Image Options - \"Placeholder image\" option added.<\/li>\n<li>Tested up to: 5.6.<\/li>\n<li>WC tested up to: 4.8.<\/li>\n<\/ul>\n\n<h4>1.4.0 - 17\/04\/2020<\/h4>\n\n<ul>\n<li>Fix - Settings - Per product - Bug (when empty \"Categories\" value is not being saved) fixed.<\/li>\n<li>Dev - Relate Options - Siblings - \"Include grandparents\" option added (defaults to <code>yes<\/code>).<\/li>\n<li>Dev - Relate Options - Siblings - \"Include top-level\" option added (defaults to <code>no<\/code>).<\/li>\n<li>Dev - Relate Options - Siblings - \"Include grandchildren\" option added (defaults to <code>yes<\/code>).<\/li>\n<li>Dev - Relate Options - Children - \"Include grandchildren\" option added (defaults to <code>yes<\/code>).<\/li>\n<li>Dev - Relate Options - Parents - \"Include grandparents\" option added (defaults to <code>yes<\/code>).<\/li>\n<li>Dev - Single - Advanced Options - 'Hide \"Related products\"' option added.<\/li>\n<li>Dev - Settings - Restyled (<code>show_if_checked<\/code> properties added).<\/li>\n<li>Dev - Settings - \"Reset settings\" notice updated.<\/li>\n<li>Dev - Admin action link description updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Requires at least: 4.7.<\/li>\n<li>WC tested up to: 4.0.<\/li>\n<li>Tested up to: 5.4.<\/li>\n<\/ul>\n\n<h4>1.3.3 - 19\/02\/2020<\/h4>\n\n<ul>\n<li>Dev - <code>get_related_categories_single()<\/code> - Additional <code>$product<\/code> safe checks added (produced log errors on some servers).<\/li>\n<\/ul>\n\n<h4>1.3.2 - 31\/01\/2020<\/h4>\n\n<ul>\n<li>Fix - Relate Options - Siblings - Current category removed.<\/li>\n<li>Dev - <code>[alg_wc_related_categories_single]<\/code> and <code>[alg_wc_related_categories_loop]<\/code> shortcodes added (and \"Disable\" option added to \"Position\" in both single and archives settings).<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<\/ul>\n\n<h4>1.3.1 - 30\/01\/2020<\/h4>\n\n<ul>\n<li>Dev - Archives - Position - \"Before main content\" and \"After main content\" positions added.<\/li>\n<\/ul>\n\n<h4>1.3.0 - 22\/01\/2020<\/h4>\n\n<ul>\n<li>Dev - \"Archives\" options section added.<\/li>\n<li>Dev - \"General\" options section renamed to \"Single\".<\/li>\n<li>Dev - \"Plugin enabled\" option removed.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 3.9.<\/li>\n<\/ul>\n\n<h4>1.2.0 - 21\/01\/2020<\/h4>\n\n<ul>\n<li>Dev - Relate Options - \"Per category\" option added.<\/li>\n<li>Dev - Relate Options - Per product - \"Override\" option added.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 03\/01\/2020<\/h4>\n\n<ul>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>WC tested up to: 3.8.<\/li>\n<li>Tested up to: 5.3.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 13\/05\/2019<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Add &quot;Related categories&quot; section to single product and\/or shop pages in WooCommerce.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/133727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=133727"}],"author":[{"embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcodefactory"}],"wp:attachment":[{"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=133727"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=133727"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=133727"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=133727"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=133727"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=133727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}