Use this one-
'category__not_in' => array( 93, 94, 95 ),
instead of-
'category_not_in' => 93,
Note: The term is category__not_in, not category_not_in. Use 2 underscores after category.
Edit: You are using-
'offset' => 1
That forces to show posts from 2nd one (skips the first post). So, it’s showing one post less! If you use 'offset' => 3, then it will start from 4th post.
Hope you understand.
Related Posts:
- Exclude or Include category ids in WP_Query
- How to query only for products with status “in stock” in WooCommerce? [closed]
- WP_Query to show post from a category OR custom field
- get_posts with multiple categories
- ajax category filter
- Display recent posts from the same category as current post in sidebar
- get_the_title($postID) OR get_the_title()?
- Counting number of posts with Category B in Category A
- How to order category.php loop by ‘meta_value’?
- Use Transient API to cache queries for all posts in all categories?
- Sorting Posts by custom field
- Show single post then all posts (with pagination)
- WP Query with multiple categories – passing an array works?
- Pagination for custom query on single.php
- wp_query display posts from same category of the post
- How to show only one post for each categories of taxonomy of custom post that contains a specific custom field
- WP_query category__in not working, only pulls from first category
- WP_Query order by date in meta_value
- How get posts from a subcategory of a category by name?
- get complex results set according to category structure
- Searching through different categories on different pages code is not working
- How to select posts from one category but exclude posts in another category?
- Get Category Archive Template Name Dynamically
- WP_Query arguments to fetch custom post type posts which are in certain category?
- How do I reset this wp_list_categories query?
- How can you get first post, last post and post count in a category?
- How to get count of posts assigned to given category?
- How to show subcategories using loop?
- WP Query Category Atribute Not Working
- List of the years with posts presented
- Changing WP_Query params with url Query Var
- Remove a specific category ID from related post
- Category applied to pages, creates multiple breadcrumb entries after a search query (On the translated site)
- category query for pages not working
- Can we return all category (not post) with Custom Query Filter? [closed]
- Query posts from category A, and from either category B or C
- Search Query for multiple categories using ‘OR’ but having certain categories be ‘AND’
- Combining categories (Query posts with multiple taxonomy terms)
- Check if loop has any categories?
- Filtering out child category posts from parent category archive not working
- Exclude Category filter from Portfolio section
- Inserting HTML to close and open divs in WP_Query loops
- Limiting number of related posts
- Category ‘pad_counts’ & ‘parent’ conflict
- Finding WordPress Posts assigned to multiple categories
- Combine results of multiple WP_Query to resemble single WP_Query
- Include latest author posts with pagination in single template?
- WordPress Custom Search Form Displaying Unexpected Results
- How to use WP_Query() on single.php?
- wp_query is showing posts from other categories
- WP_Query Taxonomy categories filtering
- How to load a script code only in posts?
- How to display a list of posts in same child category as current post
- How to exclude a category name from showing?
- Loop categories by recent post
- Get the child category ID of current category
- Related Posts Excluding Certain Categories
- Links in the_content not linked
- Widgets: Show Recent Posts Only if the Posts Have Both Categories X and Y
- Adding query parameter to archive page returns 404
- get_the_terms has strange result since version 6.0
- Post incorrectly excluded when using “category__in”?
- Related posts by current posts child category
- Filter products on category AND tag
- query hook parse_tax_query function takes no effect
- How can I have sticky posts while ALSO showing posts from a specific category using one WP_Query?
- How to use the Term Object from a custom select field in a query
- Categories In English version showing not canonical URL, instead shows query search result
- show related articles in single.php template
- What code to use in an array to call the current sub-category?
- Related categories order posts by category
- Pagination for Category does not work
- Display All Top Child Categories / Taxonomy
- Query post by Category and custom file (ACF)
- Post Template Query with WP_Query?
- WP_Query showing all posts, except from category X, unless it’s also in Y
- Single query for multiple categories
- Display 3 levels of categories on page
- Filtering ‘Featured’ posts from a batch of category IDs
- Show posts from categories instead of tags
- Related Posts with removing some categories
- Help displaying related categories
- how to avoid reloading/refresh the page when displaying the post of wp_list_categories
- Category Archive not working for pages
- Show full category tree for a year with all post titles?
- query.php – multiple is_category functions
- Display post list within category list sorted by name [duplicate]
- Create multiple sections for all categories and then queries all the posts for each of those categories
- Get Child Custom Post Content on Single.php?
- Related posts with WP_Query
- Main loop querying current template’s info only in custom category archive pages, not my posts
- Filter posts by category
- query_vars category_name only display one catgory out of multiple categories
- List categories using WP_Query
- I need to get all categories from a WP_Query
- Advanced Search – Is this possible?
- How to get post taxonomy url and name in wp_query
- Excluding a category from frontpage but not from WP_Query
- why same category base and single post base don’t work?
- How do I show related posts from categories instead of tags?