Have you tried passing in the $args variable to query_posts, rather than $guide?
query_posts($args);
Also, you should be looking to create the custom query using WP_Query class and not the query_posts. See this answer for more details (https://wordpress.stackexchange.com/a/1755)
Try the below code:
$args = array('post_type' => 'post', 'meta_key' => 'meta_date', 'meta_value_num' => , );
$my_query = new WP_Query( $args );
if($my_query->have_posts() {
while($my_query->have_posts()) : $my_query->the_post();
echo get_the_title();
endwhile;
}
Also, please see the following: Order custom posts by a date metabox.
Related Posts:
- custom-meta-box checkboxes from loop won’t save
- Display metabox title for custom fields with values
- Metabox value for post loop?
- Get meta value when the page is a blog archive
- I want my post to republish again after adding a custom field
- Individual Widgets per Page
- Using TinyMce with textareas in meta boxes on custom post types
- How to add add_meta_box to specific Page Template?
- Adding another state (spam, reject, approve) to wordpress comments?
- Arrange custom fields with drag and drop?
- extend Meta Box / Document Panel
- Add multiple images to a page sidebar
- Populating meta box with select-list of existing posts, and assigning it to custom post types
- Create meta boxes that don’t show in custom fields
- How To Create a Metabox of HTML Content with Instructions For Editors When Editing a Post or Page?
- How to load php file for specific page in admin?
- How to set default metaboxes on user creation?
- Metabox nonce PHP notice
- TinyMCE in Custom Metabox not loaded after upgrading from WP 3.1.4 to WP 3.2
- wp_editor in add_meta_boxes does not show gallery
- Calling Specific Pages with wp query Part II
- How do I assign this filter to a variable? (Appending php & markup to the_content)
- Problem with adding exta field in metabox in custom post type
- How do I add custom_meta_box_id’s value?
- add meta box using function.php
- Metabox image upload and custom field
- all tincymce’s switch when updating page after changing from html to text in custom metabox
- How to construct multiple meta boxes
- Force hide custom field metaboxes
- How do I exclude posts by custom field value?
- How to Display Custom Meta Box only on Specific Page IDs
- Upcoming Event: How do I sort database by custom date field, but ignore past dates?
- Metabox will not save
- Odd PHP Code To Display HTML Of Meta Box [closed]
- get_posts that match a user-specified value on a page
- custom field not saved
- Accessing loop functions (e.g the_title or the_content) from post ID
- How to create a Custom Meta Box with Name/Value Admin User Input Fields?
- Create Multiple File Upload Metabox in WordPress
- Custom Metabox Not Saving
- Better Method for Multiple Meta Boxes
- Unsaved changes in metabox inputs not detected in the block editor
- Get updated meta value after post update or published (custom post type) using hook
- Is there a better way to list all database terms alphabetically?
- Button inside Custom Meta Box triggering the Update Button
- Change the main loop WordPress impact on the server?
- How to show a post if was published less than two hours ago?
- I need a “Choose from existing content” popin
- How can you include custom post meta in search without calling each key?
- how to make nsfw post with thumbanil
- Specific coditional usage [closed]
- Efficiently sort only certain categories by custom field
- Can I access a post meta field before the loop?
- Displaying page image in the footer automatically
- Set checkbox as checked by default in a metabox
- Singleton Custom Field (Meta Box)
- Move Title and the Content WYSIWYG editor position
- Show image if author meta (profile fields) exists outside loop
- How can I hide custom field from users used for caching response from external api?
- Can’t query by meta_key
- Displaying Meta-Box Data Properly
- How add multiple wp_editor_box to new post
- do_shortcode close
- Search Results Page – Displaying Custom Meta Fields
- put saved metabox values back into fields and then display on the front end
- HM CMB: Role Select
- Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
- Trying to implement AJAX into my admin pages. Am I improperly enqueue and localizing my scripts?
- How to Convert Custom Fields from Text to Array?
- How to show content of custom fields in search results?
- Custom field outside the loop and inside an array
- WP E-Commerce Custom Meta > Serialized array
- Make separate text boxes for separate WordPress Custom Fields
- show a specific metabox dependent on the page template
- Making custom meta box required (with error message if not filled in) on Gutenberg
- HTML for adding a meta box (basic text field) to page editor?
- Set class if a meta value is set within post archive
- Adding text box with add_meta_box
- Add forms dynamically in admin pages?
- Using Customizer API vs Custom Meta Box for custom content
- How can I ‘check’ the “custom fields” box from the Screen Options?
- Allow HTML in Custom Metabox area
- Custom field metabox not showing in back-end
- WordPress admin area: select box with 12.000+ options
- Remove Custom metabox from particular page template is used
- How to display selected option from dropdown list in a metabox
- Custom meta boxes – add php code inside?
- If metabox fields has content display content
- Append custom field items to content from plugin
- Display Data From This Custom Media Upload Meta Box?
- When post is updated, custom metadata in text area field is overwritten
- Call the latest posts from a custom field group to be displayed on front-page
- Can i categorise my meta box?
- When editing a post with a custom meta box the values aren’t displaying correctly
- Use Metabox to enter Post Title
- Include custom fields into the content of a regular page
- Retrieve IDs from custom field, count and display results differently according to count
- How to get the value of particular get $meta value in wordpress
- Pagination not displaying correct number of pages
- Custom field not showing