Top "Categories" questions

Categories are groupings of information.

Woocommerce display nested subcategories

I'm really stuck, and wonder if anyone could help. I've tried a few plugins, but none does what I need. …

wordpress attributes woocommerce categories shop
how do i get only 1 post from each category in wordpress

i have a category named news and many subcategories inside it. What i wanna do is to get only 1 posts(…

wordpress categories posts
How to list categories and subcategories in WordPress

How to display all CATEGORIES and SUB-CATEGORIES in wordpress if a category having 0 posts also. I tried but it is …

wordpress categories listings
How to assign categories for products in magento Programmatically

I am a newbie in magento. Basically, I want to assign multiple products to multiple categories. I have followed this …

magento categories product mass-assignment
How can I add custom meta fields in categories?

Does anyone have any idea how to add custom meta fields while making categories and fetch them in the loop …

wordpress plugins categories meta-boxes
Map category parent id self referencing table structure to EF Core entity

Database Table: Image I tried this approach to map the category table to EF core: protected override void OnModelCreating(ModelBuilder …

c# sql entity-framework-core categories self-referencing-table
Elasticsearch - using the path hierarchy tokenizer to access different level of categories

I'm very new in Elasticsearch and have a question about the hierarchical tokenizer of a path. Here is my code …

path elasticsearch hierarchy categories
Making class conform to protocol with category for existing methods

I have a protocol named MyProtocol. MyProtocol has an required method: - (NSUInteger)length; And some other methods. Now i …

objective-c protocols implementation categories
How to set default taxonomy (category) for custom post types in WP

I have read through every blog post I could find, but nothing out there seems to work for me. All …

wordpress post categories taxonomy
Subcategories in layered navigation filter

I have a category with simple two-level structure like this: Category #1 - Subcategory - Subcategory - ... Category #2 - Subcategory - …

magento filter magento-1.7 categories layered-navigation