The problem is 'meta_key' => 'large_feature',
in your last function, here the “large_feature” is a taxonomy, not a “meta_key”. Infact there is no post in wordpress which has “large_feature” as a “meta_key”. That’s the reason wordpress didn’t display any posts.
About ordering by taxonomy terms, wordpress doesn’t allow that like this. You can however customize the SQL query directly using posts_orderby
or such filters, see http://codex.wordpress.org/Class_Reference/WP_Query#Filters
Related Posts:
- How do I set the default admin sort order for a custom post type to a custom column?
- Make custom column sortable
- Custom sortable columns ordered by meta-value?
- how to group custom post types
- How to add custom columns to Custom Post Type admin screen
- Column sorting with emtpy meta values
- Adding menu_order to CPT admin page
- Need functionality with all post list available at edit.php
- How do I sort a custom post type admin column using two meta keys?
- How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?
- manage_edit-{post_type}_sortable_columns sorts, but wrong!
- Order a custom post type admin screen by a second custom post type title
- Make a custom column sortable by a value from a different custom post type
- Add Content Column to Custom Post Type backend
- How to sort custom post’s category by id from the theme’s function.php?
- Make custom post type column sortable
- Can’t preview custom post – Redirected to home page
- Custom order of CPT posts by title, in wp-admin area by default
- Row actions for custom post types?
- Drag n Drop Post Order for multiple Custom Post Types
- Add content in custom post type page after the title and before columns
- Filtering Posts by Multiple Taxonomy Terms such as in an Admin Post Listing?
- How to sort a table of custom posts by column containing custom field
- Custom admin columns for ALL custom post types
- how to create my own edit.php admin page code or template for my custom post type
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- Saving multiple Metabox contents
- Custom post type loops with different page templates
- Multiple Content Block
- Custom Post Types: Custom columns with Title submenu?
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- Sort Posts Best Practice
- How to show custom (checkbox) field value in admin post list?
- Custom Post Type sorted by Title
- Allow Users Access to Custom Post Type Only
- Add text to post list/edit screens?
- How to add a column to the Trash page?
- Remove “Get Shortlink” button in admin of custom post type
- Admin Column Text Positioning
- How to get Custom Post ID by adding filter to child theme’s function
- Output custom post shortcode. Help spot the error.
- When ‘is_post_type_archive()’ return true?
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- How To Enable Block Editor (Gutenberg) for Existing Post Type via functions.php
- Get all of user’s custom post types in WP Admin for plugin
- Modifying Custom Post Type after registration (will it affect content?)
- Create a post in custom post type using field in registration form after users submit form
- right_now_content_table_end function not working?
- Combining sorted and random CPT
- How to avoid manage posts screen duplicates when two plugins use the same library
- Default sort on admin columns with meta date hides draft posts with empty date value
- How to target a specific custom post type post and its all children and grandchildren?
- ACF field key/value to show on taxonomy list
- Re-registering a custom post type not working (not showing up)
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Add term to custom post type on draft
- Template not working for the custom Post type
- Loop increase number
- ACF in wordpress
- Change Slug of a Custom Post Type
- How to inherit field value from parent post into in child / sub post
- Custom post type’s posts are not showing anywere but in xml sitemap
- Custom posts of one type have disappeared from admin. Still appear on site [closed]
- Show current user posts in custom post type query
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- Custom Post Type – Portfolio no longer works
- Custom post type in Custom widget – $listItem
- Multiple wp_editor instances in custom post type using Ajax
- Sort column on meta key and meta value
- How to customize `Edit-Post` Screen
- Custom loop request based on custom field
- Remove filter and view options from custom post type edit screen
- Change Text in Admin Panel
- redirect after submiting post for review
- How to divide Subcategories into pages of parent category wordpress
- How can I put content before my custom post type default pages?
- get_posts() returns empty on custom post type /wp-admin/edit.php
- update custom taxonomy custom fields
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- how to display author name in custom post type
- Sort custom post column by generated value?
- Custom post type order by post_title
- How to get current post type?
- How to convert Post Object Custom Field into Tags
- Create dynamic logo carousel without using any plugin
- Stored meta from attachment, video length?
- sorting in wp query based on custom field value
- Duplicate posts in my custom loop
- How to override post-new.php with custom template
- Featured image in custom post is being disabled
- custom post type does not working when adding in child theme function
- call_user_func_array() error after moving to another server
- Filtering in admin broken for custom post type in 3.8.1?
- I want to split this into two functions
- Invalid Taxonomy in template
- Add HTML before a specific div?
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- How to use wp_set_object_terms depending on page ID?
- Change CPT Edit Target Link for Admin List