You can use the WP query_posts to filter about your custom values; ean example:
query_posts('meta_key=my_type&meta_compare=<=&my_value=20&orderby=my_value');
if (have_posts()) :
while ( have_posts() ) : the_post();
But, i think you must replace the time-values for readable string, maybe woth strotime, that you have the same format for the query.
Related Posts:
- Filter by one custom field, order by another?
- Use REGEXP in WP_Query meta_query key
- How to hook a filter to catch get_post_meta when alternate a custom field output?
- How to use update_{$meta_type}_metadata filter to modify meta value
- What is the most efficient way of querying posts based on visits and date for current day?
- How can I display image metadata?
- How to filter into post meta data before saving
- Explanation for remove_filter used in the below code [closed]
- Filter list by a unique meta value dilemma
- How to remove get_post_metadata using remove_filter inside a class?
- Sorting and limitation with pre_get_posts
- Filter for author list in gutenberg core editor
- Filter posts by meta data using custom query
- Filtering by multiple conditions in the loop
- Excluding posts by meta, and also keeping posts without the meta
- How to add more than one custom metadata as filter on the post list page?
- Hide H1 Title using the_title filter
- Adding an orderby filter, casting postmeta with multiple keys
- Can wp_query return posts meta in a single request?
- what is __return_false in filters
- Passing Additional Parameters to add_filter Callable
- How can I add an Author filter to the Media Library?
- Custom theme hooks / filters – passing arguments
- Change upload directory on custom plugin page
- How to hook wp_list_pages?
- Don’t replace “|” with Empty String (“”) when generating slugs from title
- apply_filters(‘the_content’, $content) alternative
- How to use the_excerpt in a filter hook?
- Add wrapper to only youtube videos via embed_oembed_html filter function
- Changing document title only on a custom page template
- Shortcodes not resolved in AJAX call response
- Possible to filter the posts or categories that XML-RPC users see in their mobile application?
- WordPress altering my custom query, How to fix it?
- wp_link_pages output appears twice
- Add filter to wp_dropdown_pages() or wp_dropdown_categories() – no select container?
- How do I pass the value from a foreach loop to an add_filter function? [closed]
- Change WordPress RSS link with filter?
- Search results sorted by post types
- Author Page Custom Query WHERE author OR [post meta value] OR [post meta value]
- Filter or Hook to catch pre-rendering of post content
- Modifying the Search Results
- check to see if hook is available
- Use add_filter on concatenated string variable
- How do I use wp_query for WordPress search?
- Filter users by custom colum not meta key
- How to allow users to view pending posts of a specific custom post type?
- Remove filter callback: method in class
- Order by title without taking into account ‘the’
- How to filter meta_values using REST API
- Admin Backend – Search Pages only by title
- How to hide Ads in between posts on AMP? [closed]
- What is the downside of using a filter as a “poor man’s” dependency injection?
- Add content as soon starts
- Access get_the_title() from ‘excerpt_length’ filter
- Wrong post_status notice after wp_insert_post_data
- BBPress changing default group activity
- Comment search plugin
- Custom WP_Query for WordPress Search Results with meta_query
- Why does adding a filter to ‘the_title’ break the server?
- Redirect to another page using contact form 7? [closed]
- Wrapping my head around add_filter
- How to add_filter to an OOP based apply_filter(‘foo::bar’, $a);
- Help with filter for wp_notify_moderator()
- Change custom post type GUID in RSS
- How would I be able to use a font awesome icon as a user’s avatar?
- Add something after a filter
- Custom query vars filters problem with pagination
- Add filter unless it is being called under specific function
- Custom post type – filter content by custom meta box content
- Adjust query on single
- How do I add a line break to a string that is output by PHP?
- style_loader_tag not changing stylesheet to preload
- Distinguish between page and post in function
- Display posts from today and future in Elementor ‘posts widget’
- Right filter for rewriting page statuscode
- Changing title using filter not working with argument
- Archive Widget – Count only parent posts
- adding an action inside if condition not working
- WP Query filters active on wrong query
- Cutting off excerpt with first sentence
- Change URLs in default WordPress slider to relative from absolute
- Gather same custom field values in one value in a select tag with wp_query
- Change add_filter based on Ajax
- What action/filter can be used for modifying the page to be rendered?
- Fetch only categorized posts
- check, if any “add_action” function contains string XXXXXXXXX
- Sorting Posts with meta value not working
- Show posts between two Custom Fields date
- Custom Filter using meta_value in wordpress admin list not working
- loop through custom post types with meta data
- Add Default WordPress Formatting To Data From External SQL Tables?
- Joining tables not working in the post editor page
- Auto append text after the title?
- filter a list by gender
- WP_Query by meta key not returning any posts
- Replacing text using add_filter
- Background color and background image below element in Contact Form 7 – error tip [closed]
- Change password reqts with NO plugin without breaking resetpass link?
- How can I conditionally add the filter option_home?
- WP_Query filter Posts by timestamp event (range start and end) and by month (next 12 month)