Use this instead as your loop query..
<?php
query_posts( 'category_name=YOUR_CAT_NAME&showposts=15' );
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
?>
Related Posts:
- exclude category from get_posts?
- Get id of category from drop down menu
- Show post only if match all categories
- Show recent posts from one category on a non-WP site
- Trying to only display 1 category using get_posts
- Get link which associated with a specific category and tag
- Get posts from 2 different categories
- Get posts from specific taxonomy term
- List all posts in a category with query_post() function
- Hooking to walker_nav_menu_start_el to insert list of subpages
- get_posts ignoring ‘category’ and displaying all posts
- How to pull a list of posts in a category while exluding posts in subcategories of the category
- How to Link to Most Recent Custom Post of Same Term
- get_posts() from parent category only using a shortcode
- Exclude parent category when getting category posts by slug
- Exclude categories from homepage not longer working
- Showing posts from 2 categories only on category.php
- get all categories’ latest post in one query
- Load the last post of a category
- get_the_category return empty inside loop
- Get posts base on category ratio of more then two categories
- Media Library Category Exclude Tree
- not empty categories don’t show in menu [closed]
- how to call the category of the post
- How to create a custom loop ordered by Categories on a Page Template?
- How to change category id on get_posts array
- get posts from 2 categories. (2 posts)
- how to ask if in two categorys inside if
- WordPress Multisite – global categories
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- Can’t custom taxonomies have same terms (slugs) as categories?
- Using wp_category_checklist in a widget
- How to show subcategories in categories else show posts
- How to remove the parentheses from the category widget
- Filter front page posts by category
- How to get the url to tag & category base set by the user?
- Exclude one category from get_the_term_list
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- is there a better way of combining this?
- Root level category, tag, author and archive pages to work
- Number of posts in page – set per category and exclude sidebar
- Display one latest post from multiple categories
- Archive pagination causing 404 with permalinks structure
- Use get_term_children to get the sub category of a parent category for the current post
- Get a list of Terms for a specific category
- Get a variable from object in array [closed]
- How to stop wordpress from showing the selected category on top of others in the category selection?
- Exclude Child Categories Using wp_list_categories
- a-z list, categories and sub categories in loop
- Category slug $_SERVER[‘REQUEST_URI’];
- wp_dropdown_categories and custom taxonomy + custom post type
- How do I get a list of all categories that a given user has written blog posts for?
- Linking products to categories
- How to remove “Category : …”
- How to call custom category field data in theme?
- Query Posts Exclude Entire Category
- Why does the argument list_only do on Walker_Category_Checklist::start_el?
- Updating category template to change how subcategories display
- Create menu / submenu from category subcategory and posts
- Add a custom category page in WordPress.org
- Remove the parent name from permalink
- Make parent category an optgroup
- Redirect single article permalink to paginated category page
- How do I use just one category’ posts on my home page?
- List only categories i specify
- Author Page – List of categories plus number of posts in that category
- On the Blogpost I have categories showing, is there a way to exclude a catgegory like ‘Media’?
- Set category page title in custom theme [closed]
- Posts from a category on homepage with category archieves page default css
- How to use wp_list_categories with plugin category?
- Theme modification for custom category menus
- Custom css per category and per single post belong in each category
- Limit Loop to One Category
- wordpress taxonomy query posts
- Subcategory is displayed before Parent Category
- Shortcode to display all the post from a category in a page
- Custom Loop with certain number of one category
- “Special” category is displayed in all categories or show parent category on sub category
- How to show WooCommerce Categories on ‘shop’ page instead of products?
- How to list all subcategories from all categories but not from a certain category
- add woocommerce archive description if exist
- Can’t display posts by filtering categories using isotope.js
- Get a list of categories, separated by / to display inside the for custom metatags
- Automatically create tags and merge with categories
- Is there a reason to put a product in both the Child and Parent Categories?
- Get_term_meta() always returns false
- How to list all categories a post is in, but exclude current post´s category on single post page
- Get only children category name
- How to Get Position of a Post from a category and tag
- No results found for second level category
- get_the_category vs wp_get_post_categories
- Categories in media library
- WP_query exclude a category unless it has more than one catagory
- Customize category query in widget
- Narrow Down a Shop Page Results Based on a Product Tag in WooCommerce
- How to control order when displaying child categories
- Broken category styling
- Trying to WP_Query a category
- Custom EndPoint not working when strip child category in URL
- How to add custom prefix before category base for category page URL?