I found this item, that might be a good start; but the difference is that we need not to specify each specific category, the basic must be, one itme of all recent posts.
how tho change number of posts in loop from specific categories
Related Posts:
- Rearranging posts based on categories
- 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
- Conditional category query breaking?
- Category name for all posts getting assigned to a single random post
- Querying posts from two different categories while looping inside another loop
- Category slug in in loop always the same?
- Detecting top parent category fails on home page
- Get the children of the parent category
- How to check if I’m on the last page of posts?
- How do I get the category URL from get_the_category?
- is_category() in pre_get_posts strange error
- Default WP Gallery – show only galleries of a certain category
- Display all posts in category, with specific tag posts at top
- Loop with Dynamic Categories
- How can I create a loop to build slides based on multiple categories using Coda Slider
- Categories list loop – add separator every year
- How would you create a “weekly” archive?
- How to exclude categories from recent posts, recent comments & category widgets?
- Listing all posts from current category on page
- Query the Loop without breaking it
- Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !
- Why would in_category only return one post in a specific category?
- Disallow categories from this MySQL query
- Include posts from feature category in pre_get_posts
- Class active for Archive link – looped out
- Taxonomy name repeating when showing 2 posts from each category
- Display the last post by each category?
- Category param redirect to post type archive
- How to get related tags based on a category?
- Counter in loop in foreach
- Check if loop has any categories?
- Multiple Loops on category.php with pagination on last loop
- How to exclude the last post from a category(featured for example) from the main loop?
- How to get latest posts from each category in regular order
- category pagination got broken suddenly
- Order by category titles
- ajax for filtering posts by category in wordpress loops
- How to query categories with Advanced Custom Fields?
- Where and when does WordPress invoke routes
- And/Or Category Query
- Limit get_categories to show each category once
- Display single category name in woocommerce loop
- Show Posts from Single Category Not Working
- Is there a reason I cannot get the current category in a loop?
- Category archive is displaying all posts rather than the specific category
- new WP_Query all post in a category inside the loop
- Problem with different query loops (and “main loop”) on category template page!
- How to add orderby parameter for sorting on category.php
- Exclude category from query
- How to loop custom post_type from (a) specific category(ies)?
- How to display the parent category if only the child category has been chosen
- Category tags with comma’s
- Display posts of certain categories to specific user roles
- function query_posts disabling current_page_menu class
- Remove any product that is featured from regular display loop [WooCommerce]
- More efficient way to list posts by category [duplicate]
- Category nicename inside loop in wordpress
- filter a loop base on specific category
- Problem with multiple loops in wordpress theme
- Using in ‘category_name’ in ‘$query->set();’?
- custom query for both category and pages using global $wpdb;
- Query from multiple category (and)
- Editing Loop So It Targets Specific Tags?
- Problem: retrieving parent category’s first post
- Get current taxonomy and display query accordingly
- Posts made to category don’t show up (do show up on frontpage)
- How to filter post from categories only if the posts appears in one of them, not the other?
- Show Posts via cat+cat in URL that are in both Categories doesn’t work
- Category post count is not correct
- Display all categories but only if they have posts in them that have a specific tag assigned
- Include last post date in get_categories loop
- List of post categories only associated to another custom taxonomy
- How to get specific (grand parent) category of current post?
- Please tell how to stop the category from showing up on posts
- Loop by category and meta_key
- Get category from slug list
- Assign a class to first element in category in loop
- how to get postmeta info based on multiple categories?
- Category page shows only 1 post when that post has more than 1 category?
- Too many categories drastically slow down my website
- Configure query with multiple categories in a custom order?
- Is it possible to query the result of a query?
- How can I modify this code to iterate over an array of categories?
- How to exclude a specific categogy from a custom page template
- Display one post on category.php: Wrong featured image
- WordPress Numeric Pagination with Query String [duplicate]
- Printing direct descendants of a category with WP_Query
- display certain category on custom template page
- My Query is getting the wrong data
- How to use Greek characters/letters in a query?
- wordpress category.php query for featured news item, broken pagination and repeating posts
- How do i add custom post types to this query?
- Custom WordPress category page showing all posts rather than the specified category
- How do I hide posts in a category from all listings but still allow the posts to be viewed?
- Do not show all post from all categories, just show posts from category in current loop
- Echo Category In Loop
- How can I implement pagination on custom category page?
- How to show posts of a specific category
- Get categories by title descendant