Set below code :
<?php if (is_category()) { $posts = query_posts($query_string .'&orderby=title&order=asc'); } ?>
You can exclude if condition if do not using category.
For more reference: Alphabetizing Posts
Related Posts:
- Sort posts alphabetically by category/custom taxonomy, insert divider between different types
- Get posts from sites in Multisite?
- How To Modify The Loop in archives.php To Have 11 Posts Per Page and CSS Styling
- Order get_terms() By Custom Field
- How to Change the Categories Order in the Admin Dashboard?
- Sort posts by tags in category pages
- Using categories & “stickyness” together
- Display all posts in category, with specific tag posts at top
- Does the ‘cat’ argument in query_posts fetch posts from subcategories as well as the given ID?
- List posts by category exclude current post
- I want to order categories based upon the latest post time
- Display only the latest post from multiple categories
- WordPress Ordering Problem. How to fix ordering 1-10-100 issue?
- Order posts by category name
- Select category in custom query
- Display one latest post from multiple categories
- Return category slug / title from category ID
- Exclude category from loop not working
- “NOT ONLY IN” taxonomy query operator?
- Custom order categories in admin dashboard
- Arrange posts by date in front page
- Post count for category and tag
- Checking for two categories in query_posts
- How to query post like normal search would do. within search.php page
- Query Posts Exclude Entire Category
- how to query posts and auto assign category if post title has keyword
- How do I call posts with a certain tag?
- Modify WordPress SQL Query to pull from within a category
- query order by category
- How to redefine the sorting of product categories by menu_order?
- Get link which associated with a specific category and tag
- Order categories by name or view count
- WooCommerce – How to show specific category first-rest of products-specific category last
- Custom taxonomy/category order
- I want to display the all the posts that are inside a certain subcategory
- Order by category titles
- Have parent category contain only one post?
- wp e-commerce group product by category [closed]
- Randomly load categories with latest post
- Set colors depending on category
- How do I query_posts in cat=1 AND not in cat=2
- List all posts in a category with query_post() function
- query_post order desc
- Exclude a category from a query that includes its parent category
- Show the latest post from child category?
- Custom loop of a single category, cannot order by date. What am I missing?
- Pagination on category.php and tag.php not working
- Problem with different query loops (and “main loop”) on category template page!
- query_posts not reading correct categories
- Pagination for query_posts();
- How to change the order of the subcategory and category in a post?
- Posts from a category on homepage with category archieves page default css
- function query_posts disabling current_page_menu class
- How do order product categories – on a parent category page – in Woocommerce?
- query_posts by category_name and custom taxonomy
- wordpress taxonomy query posts
- PHP dynamical conditional post display
- Posts of specific category on page and excluded from index.htm
- new WP_Query issues
- how can i hide category?
- Natural sort / ordering wp_dropdown_categories
- Displaying links to all posts of the same category on the post page
- Post not found when filtered by category ID
- Exclude categories from postquery
- Show posts from category specified using a custom field
- query_post problem
- Add class to current post in query_post
- Different post slug based on archive
- How can I order all subcategories alphabetical independent of the parent categories?
- Ordering terms whilst in loop
- Modifying category order
- Pagination does not work with query_posts()
- Assign a class to first element in category in loop
- How to display products with multiple conditions, product_id and category_id
- Configure query with multiple categories in a custom order?
- Query post only from categories that have subcategories
- $args Orderby The number
- Displaying posts by year
- Paginate WordPress Category Pages
- How to have a category not show up in query post with page panigation?
- Query pages by category
- Showing one post from each category, paged?
- Woocommerce custom taxonomy order
- Woocommerce – Display product category of product in Orders page
- Post list category plugin alphabetical order [closed]
- How can I filter Query Loop to show only posts in current category?
- Change woo status automatically [closed]
- Category page shows only 1 post when that post has more than 1 category?
- Assign a category to all articles
- Loop doesn’t work
- the_content() not showing full posts in category template
- Getting Post Tags From Certain Categories
- Dynamically creating content on custom URL without getting 404
- Too many categories drastically slow down my website
- ACF Gallery with Media Categories – how do display categories and sort
- How to get posts from many categories using WP_Query
- Removin /page/2 from pagination
- Get category fixed in dropdown browse categories
- Filtered post assigned to categories
- WordPress pagination not working because of subcategory