And here is the solution! After some search I found the meta-key
case 'sales_date' :
$query_args['meta_key'] = '_sale_price_dates_from';
$query_args['orderby'] = 'meta_value_num';
break;
Related Posts:
- woocommerce featured products and categories
- How to show all the filters with woocommerce layered nav filter widget
- Change Woocommerce Product Categories Widget ‘Title’ based on Product Category
- How to add WooCommerce Add to Cart button in widget?
- widgets_init actions not fired from functions.php’s child theme
- Translate widget titles using qTranslate plugin
- Get a list of all Widgets registered in WordPress admin widgets-area
- How Do I Add Custom CSS To Only Certain Widgets
- Prevent second widget activation
- How can I add links to widget titles?
- How to add Custom Fields to Settings in Widget Options for all Registered Widgets?
- Remove rss widget title link
- Copy widget settings from one blog to another
- Sidebar Widget Registration without a name, how is it assigned to new named sidebar widget?
- How to Make a Custom Dashboard Widget to Display Custom Notification from Admin?
- Add thumbnail to recent posts widget using filters
- Is there a way to allow only certain type of widgets in the sidebars?
- Shortcode in Text Widget not working
- Why wordpress popular post widget shows Undefined index?
- List sidebars on a page
- How to enable / use new video / audio / images widgets in WordPress 4.8?
- Searching for a better Twitter widget
- Insert Widget option into mark-up with register_sidebar
- Widgets not expanding on wordpress 3.3 widget dashbord
- How do i display the built-in gallery inside a widget?
- Forcing the title of a text widget on to a new line in the admin area
- Removing default theme widgets
- Sidebar not show customizer!
- wp_register_sidebar_widget() disappered my Widgets submenu – what am I doing wrong?
- Customizing wordpress default widgets?
- different class (css) for sidebar widgets
- Adding widgets with Featured Image via the Customizer run hundreds of queries
- How to make this change without changing the core? [duplicate]
- how to put functions inside of widgets
- Adding a Widget : what to put in plugin URL
- How to list all custom post types in a custom widget?
- How can I assign widgets from WP to appear in bbpress?
- get_option returns undesired blank instance of a widget
- escaping and sanitizing input for custom widget form fields
- Dynamic created widget id value of multi-instance in jQuery
- Hide widget (and white space) on specific resolution [closed]
- Adding Widgets to Draft Pages
- How to select multiple media files for a widget form?
- Create an extra Widget Areas in WordPress TwentyTwelve
- Apply code for all else first block
- How i can widget ID get after drag for wordpress with jquery?
- Is there a WordPress widget for my webpage?
- FTP Widget Location
- Turn off “This is the Primary Sidebar Widget Area” message
- dynamic sidebar in front page
- Adding a WordPress Widget to a settings page
- How to change “Call To +1800090098” in TopStore pro theme [closed]
- How to dynamically add the the input text field in widget?
- Header Sidebar Won’t Move Lower – Want to Align with Header Logo [closed]
- display widget checkbox selection on frontend
- Enabled checkbox by default in WordPress widgets
- Is there a way to use get_sidebar() when no widgets are activated?
- Is there any tab widget plugin supporting third party widgets? [closed]
- Add footer widgets
- modifying title (in dashboard) for different widget instances
- How to translate Widget Description in constructor?
- Custom CSS for a particular text/html widget in WordPress
- Removing side bar widgets from GovPress theme
- Adding a single text input field to a custom Dashboard widget
- how to show only particular category post in archive widgets
- How do I customize the positioning of WordPress widgets?
- Limit archive widget results
- How can I detemine the parameters needed by the_widget()?
- Can you hide a widget based on its content?
- Fatal error: Uncaught Error: Class ‘WP_Widget’ not found
- Array showing all values of loop instead of specific value to post
- Widget not appearing in customizer
- How can I have sidebar widgets on Twenty Seventeen theme on all pages?
- Loop through Widgets in sidebar using widget array number?
- Loading scripts only if a particular shortcode or widget is present
- Make a widget to my footer
- How to change text of a widget depend on condition?
- Always show the widget title in a wordpress widget
- Custom php Widget keeps disappearing from the front end
- Display Posts by Views (Popular Posts Widget)
- Default WordPress widgets always appear
- Add space to the end on a widget
- Using javascript on the new widget preview / customizer page
- Show editor widgets only on pages that use a specific template?
- Conditionally enable autoplay when using oEmbed in a custom widget
- Options page for widget
- user definable sidebar per page
- List.js inside WordPress widget
- Show or hide custom menu widget in side bar conditionally
- Post Thumbnails on Sidebar Widgets
- Using Conditional Tags to restrict something to 1 user?
- Recent posts with different class name for each post and a scrollbar?
- Full Width Container Colour Problems
- How to make custom dashboard widget to display alert in front-end?
- how to enable full width page template in woo theme memorable?
- Can’t remove a widget from admin
- Add a twitter feed to my WordPress website
- Using AJAX in a Widget to Sort items [closed]
- How to create a dashboard to show current user analytics in buddypress
- How to tell if a dynamic sidebar is being displayed on page?