Meta Box: Creating a Custom Post Type Plugin
ฝัง
- เผยแพร่เมื่อ 10 ก.ย. 2024
- In this video I show how Meta Box modularity and developer features make it easy to create a plugin for a Custom Post Type.
Visit the Meta Box website: www.webtng.com...
(affiliate link)
Meta Box has a lifetime purchase option. Use coupon DYNAMIC20 for 20% off.
There is text version on the WebTNG website: www.webtng.com...
I didn't know that you can do it like this, thanks David!
You're welcome. Glad it was something new.
They also have an online code generator on their website. Can use that as well with some modifications to fit your CPTs and Taxonomies.
Thanks, I found this quite informative.
Thank you. This was really helpful
Thanks, this is a pretty cool little trick. Since we are creating a plugin, do you think there are any security concerns or future conflict concerns? I am looking for a custom field solution, and I like this outcome.
Should be safe as long as you are not incorporating any user supplied content.
@@DavidMcCan thanks. Thanks again for putting this together.
Awesome content!
Hi David,
I'm looking at migrating from Toolset for real estate websites, but i see that MetaBox doesn't have a default map function that is needed for displaying listings based on their geographic data the way I'm used to.
Any thoughts? Have you done any mapping with it?
I haven't used it, but Meta Box has a maps field as well as a Geolocation extension. Both work with Google Maps or Open Street Maps.
You can do the same with ACF.
I see with ACF you can export CPTs and field groups to PHP. I don't see how to disable the ACF UI in the WordPress admin.
@@DavidMcCan I don't think Pro is required, but yes, ACF needs to be installed.
You can do the exact same thing with Advanced Custom Fields.
I know you can export CPTs and field groups to PHP. I don't see how to disable the ACF UI in the WordPress admin. I believe you can do it with code though.
@@DavidMcCan Just did some research and it seems that you can't deactivate ACF. You can only "Disable Custom Fields Editing on a Live Site" which the documentation has an article explaining the process.