0
votes
0answers
124 views

Using strtotime() and update_post_meta not saving

I would like to take a date entered in a meta box field, & convert it into a Unix timestamp (dd/mm/yyyy) and save it in the wp_postmeta table. But my code isn't working: function ...
0
votes
2answers
707 views

how to compare different timestamps in wp-query for events custom post types?

I have a custom post type with custom metaboxes (as seen on wptheming.com) and would like to make a query to show upcoming events, say in the sidebar, where past dates are left out. But I need a ...