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]
- Is there a plugin that will completely remove the category system?
- How do you remove display of WooCommerce product category on single product page?
- Show recent posts in menu?
- WordPress Get Posts from each category equally
- How to display taxonomy terms the way they are hierarchical
- Difference between wp_list_categories and get_categories
- Retrieve post tags from from main wp_query
- Listing Post Categories on Home Page
- Hide category name but show posts
- Display a category name automatically using code in the functions.php file
- 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