Events Calendar Pro. I’m likely just going to build it as a standard custom field.
It’s an interesting idea, but maybe not worth the fuss.
Sure thing. Imagine a metabox created by a an event calendar plugin. That metabox has date, time, etc in this metabox. There are hooks for me to append additional custom fields to this metabox. I want to add a relationship field to pull in post objects from a relevant cpt.
I can do this directly, but I really like the ACF relationship field UI, and we’re using ACF elsewhere so it’s worth using if possible.
Rich
thanks petercarsater, this is great.
Hey James, I’m not sure I follow how that would work
Hey James – Sorry for the delayed response. Does this mean that the current oEmbed field in ACF has a bug? I’d prefer to use that feature, since it shows the preview from the admin. -Rich
Thanks James. Here you go: http://thedropp.wistia.com/medias/p5egqo189g?embedType=iframe&seo=false&videoWidth=640
@elliot, I apologize for the late response, I was on vacation and then needed to get back into my routine. It turns out that for me, something was cached in my browser causing the issue. This was not an ACF issue for me. Thanks for reaching out, but this can be closed.
James – is there an update on this? -Rich
if you can, roll back to 5.2.2 that is working for me
I am having the same problem.
Nevermind, I found the issue. this is not an ACF bug/issue
actually, to update. We do have two required fields, but they are hidden behind conditional logic.
Here is my solution.
https://gist.github.com/secretstache/9f0a93a9953361edb7bb
@atomicsmash – I’ve just really started to dive into OOP, and I’m fascinated with how you built this using an MVC approach. Is there any chance you’d consider putting that project on Github for someone like myself to learn from? -Rich
For anyone who is hosting with WPEngine. Be sure to turn off object / transient caching after re-uploading the plugin. This was what was causing the problem after following @Elliot Condon’s instructions. After doing that, the image field started working again.
Rich
Any further updates on this? I’ve tried to replace the plugin a few times, but it has not fixed the problem -Rich
Unfortunately reinstalling the plugin is not working for me. Not sure why. -Rich
anyone noticing this problem?
Hey Onyx – that screenshot came from my webhost: WPEngine. I can ask what they are using.
I think I read that ACF5 saves all data to a static JSON file that can be called instead of querying the DB, which is likely a very smart move for sites with large ACF implementations. But, for now, I’d like to see what else is available
yup that worked. not sure why setup_postdata isn’t, but thanks
I have no doubt the issue is with my code. Here is the gist:
https://gist.github.com/jrstaatsiii/7736698
WP_Post Object
(
[ID] => 143
[post_author] => 1
[post_date] => 2013-11-24 21:49:38
[post_date_gmt] => 2013-11-24 21:49:38
[post_content] =>
[post_title] => 1 Hour HTML
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => 1-hour-html
[to_ping] =>
[pinged] =>
[post_modified] => 2013-11-24 21:49:58
[post_modified_gmt] => 2013-11-24 21:49:58
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://chrispirillo.dev/?post_type=ssm_course&p=143
[menu_order] => 0
[post_type] => ssm_course
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
143
It looks correct here, and yet it still shows the wrong post, and for whatever reason, it shows a different post for each page this is used on.
I can confirm that this fixes the problem. Thank you wglassbrook
#facepalm, of course. Thanks
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.