Hi John,
Thanks so much for your help with this; hugely appreciated!
As it happens, no sooner than I had posted my question on these here boards, I came up with the following solution, and it was very similar to yours, so hopefully it’s a case of great minds thinking alike and all that!
Thanks again for your reply, and it’s all working brilliantly now!
Alex
$meta_query = array(
'relation' => 'OR',
array(
'key' => 'end_date',
'compare' => '>=',
'value' => $today,
),
array(
'key' => 'event_date',
'value' => 'standard',
'compare' => 'NOT LIKE',
),
);
Hi Elliot,
I’d just like to chime in and say that have_rows doesn’t seem to generate any output on the front-end when used within an Options page (the field data is stored just fine in the database though).
I’ve tried your api-template.php hotfix, but sadly, that doesn’t seem to have done the trick 🙁
For the sake of reference, I am running WP 4.3.1 and ACF Pro latest.
OK, so this is getting weird now!
Updating WP SEO to v2.21 has meant that I can delete an image from an Image Field in Chrome, but in Safari I can’t!
Here’s the kicker …I have Realmac Software’s awesome Ember screenshot app installed on my work machines, and this comes with a Safari extension to simplify the screengrab process.
In Safari, the WP SEO error is still there:
[Error] ReferenceError: Can’t find variable: yst_escapeFocusKw
yst_testFocusKw (post.php, line 5637)
dispatch (load-scripts.php, line 3)
handle (load-scripts.php, line 3)
trigger (load-scripts.php, line 3)
trigger (load-scripts.php, line 8)
(anonymous function) (load-scripts.php, line 3)
each (load-scripts.php, line 2)
each (load-scripts.php, line 2)
trigger (load-scripts.php, line 3)
render (acf-input.min.js, line 1)
remove (acf-input.min.js, line 1)
(anonymous function) (acf-input.min.js, line 1)
dispatch (load-scripts.php, line 3)
handle (load-scripts.php, line 3)
But …there’s also this:
[Error] ReferenceError: Can’t find variable: safari
global code (injected.js, line 19)
appendChild ([native code], line 0)
(anonymous function) (tinymce.min.js, line 3)
run (tinymce.min.js, line 3)
add (tinymce.min.js, line 3)
init (tinymce.min.js, line 9)
(anonymous function) (tinymce.min.js, line 9)
(anonymous function) (tinymce.min.js, line 4)
a (tinymce.min.js, line 2)
h (tinymce.min.js, line 4)
(anonymous function) (tinymce.min.js, line 4)
i (tinymce.min.js, line 4)
The safari variable it’s whinging about in the injected.js file is put there by Ember!
Interesting stuff!
Same! 5.1.2 is looking good so far! Well done, Elliot!
Noticed this issue as well 🙁
The good news is that the field data is saved just fine, but just not displayed on the front-end.
Had to roll back to 5.1.0 as temporary measure!
Hi Elliot,
Thanks so much for getting back to me; tried it, but the update notification is still there 🙁
Hi Elliot,
So sorry to be the bearer of bad tidings, but it’s still happening for me 🙁
Looking forward to the fix!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.