It might be not your case but if behind the scene permalink settings have been switched from default one, then the request:
?category_name=slug1+slug2
is rewritten to
/category/slug1/ or /category/slug2/
so only the posts from one category are shown.
Related Posts:
- is_category() in pre_get_posts strange error
- Rearranging posts based on categories
- Custom Query to search through categories
- How to query all posts of a specific category, and any other category combination
- is_category in pre_get_posts results in php notices
- Query the Loop without breaking it
- How to Check if a Child Category is Being Queried
- How Do I Merge Categories With phpMyAdmin
- Category archive page – loop through posts of certain tag (with pagination) – pre_get_posts
- If newest post of category is newest post in general, skip first post of category
- Disallow categories from this MySQL query
- Include posts from feature category in pre_get_posts
- How to display posts under a specific subcategory of a given category
- get_the_category and echo out link to child-most/deepest category
- query in category.php repeats itself
- Display posts separated by Category in Author’s page
- Category param redirect to post type archive
- How to get related tags based on a category?
- Show popular post by category code
- How to get latest posts from each category in regular order
- category pagination got broken suddenly
- How to query categories with Advanced Custom Fields?
- Where and when does WordPress invoke routes
- And/Or Category Query
- Exclude category from query
- Overriding default calendar to show posts from a category
- function query_posts disabling current_page_menu class
- How Do I Delete WordPress Posts Older Than 400 Days, From A WordPress Category
- Using in ‘category_name’ in ‘$query->set();’?
- custom query for both category and pages using global $wpdb;
- Get categories of queried posts
- Query from multiple category (and)
- How to display posts from specific category using get_option function?
- SQL query to get posts from multiple categories but not in a category
- Conditional category query breaking?
- How to filter post from categories only if the posts appears in one of them, not the other?
- Category name for all posts getting assigned to a single random post
- Show Posts via cat+cat in URL that are in both Categories doesn’t work
- List of post categories only associated to another custom taxonomy
- how tho change number of posts in loop from specific categories
- Get category from slug list
- Issue with WordPress category search
- Querying posts from two different categories while looping inside another loop
- how to get postmeta info based on multiple categories?
- Too many categories drastically slow down my website
- How to get posts from many categories using WP_Query
- Is it possible to query the result of a query?
- Match two taxonomies to display a specific content
- Category slug in in loop always the same?
- display certain category on custom template page
- Detecting top parent category fails on home page
- How to use Greek characters/letters in a query?
- Displaying posts by year
- wordpress category.php query for featured news item, broken pagination and repeating posts
- How to show posts of a specific category
- How to get parent and child sub category (Taxonomy) order to display
- Main menu not appearing on category pages
- Using URL parameters, list posts from category and custom taxonomy
- Display posts links from a category group by year
- List categories for author: list_categories function inside list_authors function
- Hide a certain category name without removing it?
- strip last comma from get_the_category
- has_category() for parent category
- How to insert category and subcategory using ‘wp_insert_post’ function?
- Show posts of category in a page
- How to create taxonomy values for pages and list them in wp-admin
- One WP install, I need to map a custom domain name to each category
- How to disable category without deleting?
- Limit number of terms that a custom taxonomy can save per custom post type
- Why custom taxomony not showing when create a post?
- wp_list_categories with show_count, except for specific categories
- Adding a H1 Tag to Post Tags automatically, but hide the tag? (Same for Category)
- How do I add a category to my post_type
- WordPress showing wrong category name
- Add posts of a certain category to a page
- How can I filter posts by tag on the fly
- Post Loop Category first show parent then child
- wp_nav_menu not appearing correctly on category page
- Post not found when filtered by category ID
- How to Show or Hidden Categories on page in WordPress?
- Display all posts from selected category
- category description not showing in my woocommerce
- Hide Some Categories in Post Editor
- Should I select only the last child product category?
- Exclude category from WP_Query args not working
- WordPress pagination based on category
- How to echo Tags and Categories as plain text
- Make related posts display first in search result
- Display sub categories of a parent product in products – woocommerce [closed]
- foreach,having wp_query inside, breaks after showing one result
- Display a category name automatically using code in the functions.php file
- Include Category Description in search result
- All post of child category not in top category
- How to add a tag above a category post that displays the category name in WordPress
- Woocommerce – Display product category of product in Orders page
- How to show video from wp option value?
- Changing Woocommerce categories programatically
- Add an Exclusive or featured tag line to article titles
- Order Categories by Character Count
- How to remove the category from the url only for a specific category of articles on wordpress