Just replace 'order' => 'DESC'
with 'order' => 'ASC'
.
Related Posts:
- What does this PHP function code mean? [closed]
- Restrict custom post type to only site administrator role
- Linking Two Post Types
- How to force one column layout on custom post type edit page?
- modify all posts of a category to “no comments allowed”
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- Showing current taxonomy terms
- automatically create taxonomy with same name as post title
- Assigning a role to a specific custom post type (and ignoring other post types)
- Display posts in random post types
- Custom Post Type by user
- saving custom post type data to different table in wordpress
- Query post types with multiple keys
- same archive template for different custom post
- Get all posts WHERE custom_field is LIKE value
- Get the post children count of a post
- How to delete all posts from a custom post type?
- Check Title Unique Or Not and If not error message and dont save
- Remove All, Published and Trashed Post Views in Custom Post Type
- How to post twitter like updates on wordpress
- Show Two custom Post type and their posts on category page
- apply filters only to specific post listing without check the url parameters
- Custom post type and body_class: Remove “blog” class
- Deleting Custom Post type data using mySQL command
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Display only one post each WEEK
- List custom taxonomy specific to one custom post type
- Meta query for custom post type ignored in main query
- Show titles, date of all posts on single category page
- Update postmeta Parent when post_status child change
- Allow users to create posts without logging in?
- How to sort posts in a custom post type by title in ascending order by default?
- Get_the_terms restrict output
- Custom post type menu
- YOAST SEO won’t work on custom post type archive [closed]
- Separate Content from gallery (custom post type)
- WordPress Count posts within a custom post type
- Custom post type tags not showing in search
- How set template for “custom post type” individual post
- Why is my custom post content only viewable when signed into WordPress?
- Adding specific custom fields (images) to post excerpt
- Limit posts per page depending on the size of a div?
- Delete Post by User
- creating a custom post template
- Problem to get the link of the default ‘post’ post type like the orther custom types
- One Post with different content, depending on a Page
- Custom Post Type
- Display all post types together
- Turn post into simple slideshow
- Query multiple post of which one by taxonomy
- How to make a template for a specific post of a custom post type?
- How to delete unnecessary custom post types in the UI
- How to create a job post by email parsing? [closed]
- show posts under custom post type with same autj
- How to automate the creation of advanced layout article/post
- display posts, pages and custom post types from another wordpress site
- is therer any wordpress function to retrieve a specific html element from post content
- How to develop Knowledge center in WordPress Website
- Pull Two Posts Into Custom Post Type `single-cpt.php`
- Post Ancestor and Child Post in Custom Post Type
- Multiple information using custom post type
- Related links – from other sites
- Extend the wp_get_archives output with ‘?post_type=foo’?
- Making pages also serve as taxonomies? Or give full pages to taxonomies?
- Shortcode for display posts on home page show only one post
- How to Separate CPT From Regular Posts?
- Remove rows in the manage post/page view
- How to check post type (to include custom css)
- delete_published_posts does not work
- Cannot save CPT meta box
- non-hierarchical post type with hierarchical url structure
- WP the_posts() on single-cars.php get category link
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- List Categories (wp_terms) and count posts
- List All Custom Post Types Posts in Nav Menu Dynamically
- Custom wordpress loop
- Different post title, keywords and description
- post_content is stripping HTML when adding a new post? [closed]
- how to get options to choose post format in add new post
- How to create Custom image post?
- Display Parent-Child Posts in specific order by comparing IDs in array
- How to display custom field in product description?
- How to display posts with plugin (advanced custom fields) field groups?
- WordPress – display relationship between blog posts and custom posts
- SEARCH QUERIES – REVERSE OUTPUT
- Is there a way to create a sidebar of bullets
- Set a Default CPT taxonomy by taxonomy id
- How to get the posts that my following users are liked?
- How to insert post 6 times after user register like ask.fm
- WordPress deletes custom posts instead of trash them
- Creating custom post type relationships
- How to mark posts as visited
- Adding Information To All Posts Screen
- erase post excerpt limitation [×]
- Collection of fields in a single post
- Pulling in a particular post into a single page based on the post id passed into the code
- Custom My account page and custom page for editing posts
- What’s the best way to show custom post types? With page template it’s not perfect!
- Get post from custom post type that title is like custom string [closed]
- How to make a non-public post on wordpress approval?