Home › Forums › Backend Issues (wp-admin) › How to programatically create meta fields for custom page template? › Reply To: How to programatically create meta fields for custom page template?
Let me explain. I’m creating a theme for sell and i create a custom page template.
When the buyer creates a page with my custom template, i would like to automatically show custom options specific for that template. That’s why i want to register option fields programmatically.
Yes, you are right. I can wordpress api to do it but i just think that this plugin may create an on-top api which i can use easily with less coding. I see this plugin provides api for developers for only getting values. It’s a bit strange (only to me 😉 ) for not having api to create fields
So i just come to ask. ;P
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!
© 2022 Advanced Custom Fields.