You may need to add this to your query_posts()
call 'order' => 'ASC'
so it should look like this:
query_posts( array(
'post__in' => $top_ideas,
'orderby' => 'post__in',
'order' => 'ASC'
) );
Hope this helps!
Related Posts:
- Some doubts about how the main query and the custom query works in this custom theme?
- WP_Query vs get_posts
- Order posts by ID in the given order
- Get the number of posts from the current page results
- WordPress Custom Query to show posts from last x years
- Query Custom Meta Value with Increment
- How to query ‘posts_per_page’ to display a different blog posts index template?
- 2 loops on page – one with orderby rand second orderby date
- Query posts by specific word on title
- Five posts from a category in footer
- Multiple loops without repeating content
- WP_Query condition affects posts_per_page count
- Some doubts about how the main query and the custom query works in this custom theme?
- How do I rewrite this loop as a new WP_Query style-loop?
- Include current post into loop
- How to provide meta_key array to wp_query?
- get_posts output always same post
- How to create custom query by keyword in post title?
- How to make posts unqueryable/unpublish posts where ACF relationship field is an unpublished post? [closed]
- Conditional operator OR not working with custom fields
- Get posts that do not have the same tags as current
- Should I reset $wp_query?
- 2 queries with counters
- Paginate pages with dynamic query
- Performance concerns: index.php vs taxonomy-$taxonomy.php
- Determine if ID is page or post and query the ID
- Custom template for password protected page
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- Duplice post with standard WP loop – fixed by using query_posts() instead
- How do I stop the same post showing multiple times in a archive?
- Custom query for custom post type not getting correct post ID
- Problem with my loops
- WordPress For Loop Prints Unwanted Extra Paragraph Element
- How to order posts, that have already been filtered by custom taxonomy, by their category names?
- How to add in WP_Query to every 3 posts displayed? [duplicate]
- Some doubts about how the main query and the custom query works in this custom theme?
- Ordering Posts by parent category, name ascending
- Converting an existing query_posts to WP_Query
- Multiple loop for “featured” items returns wrong posts
- Show number of posts AND number on current page (cannot make it work)
- Using a custom WP_Query with get_template_part loop
- Loop within a loop?
- Display posts the match taxonomy term linked from wp_list_categoies?
- Merging a complex query with post_rewind and splitting posts into two columns
- Best practice for multiple queries on page
- Pagination Not working on Home Page with 2 Query
- Exclude post on loop by multiple meta key value
- How to find out what “Blog pages show at most” is set to [duplicate]
- Sort by meta key on archive page
- Retrieve or Query Pages by ID
- Query sticky posts with thumbnails
- Show all parents and children in custom post type in right order
- Why is this coming back as null? Thats wrong. There is one post
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Ignore post by meta value in the main query
- How to retrieve current page WP_Query arguments?
- How to limit WP_Query to one result on the loop?
- Order a query result by a numeric meta key even if it does not exist, but put the posts with meta key first
- How to use offset in WP_Query
- Filtering posts from different categories into different section by doing WP_Query only once
- Display custom tags on pages that have a specific page parent
- How to query for all posts that have a particular meta key?
- Custom taxonomy.php not working
- Transient api Caches confused
- How can I override one post and make it display content for another post?
- sort and display posts by custom field (wp-query and the loop))
- Pagination for custom loop on custom page template is not displaying anything
- How to use ‘WP_Query’ or ‘query_posts’ to display content in a descending order
- Filtering by multiple conditions in the loop
- How to access $wp_query object from array of posts given by get_posts?
- Display all attached image of every post of custom post type and link to original post
- Writing less unnecessary code with WordPress
- WordPress Queries Not Working?
- Filter subpages in while loop from WP Query object
- How to sort by most watched in X days/months
- How can I use arrays and a foreach to generate many lists with WP_Query?
- How to use custom page for all posts with custom url, call another directory?
- display ACF repater field in archive page
- query hook parse_tax_query function takes no effect
- WP_Query breaking the loop in a nested loop
- Related posts queries
- Order by meta date with a thousanth of a second defaults to post order
- why default wordpress loop not working outside index.php
- how to show more than 1 post into three columns query
- Calling body_class and wp_nav_menu for a different post
- Modify query to exclude certain ids and certain parents and its corresponding children
- How to make a wordpress loop file that displays posts based on certain conditions
- Custom loop – Isolating post meta output depending on current query taxonomy terms
- Pagination not working with WP_QUERY
- How do I display posts with specific value in a custom field into my loop?
- Order by multiple meta keys on wordpress
- wp_query pagination links producing 404
- Display First posts without the default featured image
- Pagination problem with multiple loops on the same page
- Can’t seem to get an else statement correct? [closed]
- Output ACF field dynamicaly within a taxonomy loop [closed]
- Incorrect posts displayed on category page
- How do I split a large query with a semi-expensive function included into multiple smaller queries
- WP Query – Show custom posts only if user contain some user meta
- new WP_Query with order args – no more distinction between categories