New answers tagged

1 vote

How to display WordPress Twenty Twenty-Four's built-in custom field in a post (or page)?

The easiest way I've found of doing this is to install the plugin ACF Views Lite, which you can do from Plugins > add new plugin, and create a view for your field. This will generate a short-code ...
RobPL's user avatar
  • 11
0 votes

Custom fields empty after refreshing page

Try adding this save function to see if it saves data function save_custom_artiesten_metabox_on_reload() { global $post; if (isset($_POST['oa_datum']) && isset($_POST['oa_aanvang']) &...
Strol Remix's user avatar
0 votes

how to compare date meta value in jet smart filter Date query?

for those who are looking for this, after going thru various posts and articles, got it right, attached the image of correct way to do it. thanks all who tried to help. right way to do it. make sure ...
vikram's user avatar
  • 1
0 votes

how to compare date meta value in jet smart filter Date query?

Direct SQL functions like str_to_time won't work within the value field of metaqueries. You need to provide actual date values. To compare between today and the next 7 days, you will need to calculate ...
vijay pancholi's user avatar
0 votes

Custom post type needs to capability to create and edit by some specific user role

See if this article, which I published last year, helps.
Jeff Cohan's user avatar

Top 50 recent answers are included