I've noticed, however, that if you're using a different database table other than the native wp_postmeta to store your post metadata, accessing a field's value as shown in the video won't work. I've tested this using MB Custom Table (MetaBox), and while I haven't tested with its ACF's counterpart ACF Custom Database Tables, I'm guessing it's not going to work either. Perhaps someone can prove me wrong? Cheers
Great work.
I'd love to see a cheatsheet for the predefined WordPress meta names - eg Adding a dynamic background that uses the Post Avatar
Does this method work with custom fields created in 3rd party plugins like ACF and Metabox?
Yes, it works!
I've noticed, however, that if you're using a different database table other than the native wp_postmeta to store your post metadata, accessing a field's value as shown in the video won't work. I've tested this using MB Custom Table (MetaBox), and while I haven't tested with its ACF's counterpart ACF Custom Database Tables, I'm guessing it's not going to work either. Perhaps someone can prove me wrong? Cheers
how to access post object value?
What is the link to the PHP video you mentioned in this video?
Just added in the description. Thanks for pointing that out!
please turn off ads