EDIT: Reworded the question for more clarity I’m trying to sort by custom meta box data, which I am converting to a date using the strtotime function, but I’m...
I Am trying to create a default custom field drop down with pre populated values from the DB to be shown while creating a new Post or editing a...
When adding arrays to post meta, using add_post_meta, new sub-arrays are added. I was wondering if there was a way to have those sub-arrays named. so instead of ending...
I’m trying to create my own registration form and adding phone number as required field and I would love to save that phone number as custom user meta. After...
Is there way to use custom validation on an advanced custom field? For example, I might not want a textfield to have a value that starts with certain prefix,...
I know similar questions have been asked dozens of times but I’m just not understanding how to display custom fields. I’m using woocommerce and want to display a custom...
I have installed Advanced Custom Fields 4.0.1 and created a new Field group containing a single field called preamble. I would like to position this new field before the...
I’m stuck at a very simple point: I need to get all attachments by a custom meta key (and value). I’m developing a short code, so it has to...
I am looking to achieve something which I figured would be fairly simple to accomplish but it seems there are no real examples available to achieve my needs. Essentially...
That was a very dense title. I have a custom post type “event” which has a Date/Time picker field “event_date” thanks to the Advanced Custom Fields plugin. This Date/Time...