Home › Forums › General Issues › How to set default custom field value on new posts for a specific user › Reply To: How to set default custom field value on new posts for a specific user
Sounds good. I do suggest that you create a custom plugin, rather than modify the functions.php file of your theme. That way… if you ever switch themes, things should continue to work as expected.
Creating a simple plugin is quite easy. I always use the free plugin Pluginception. Once active, it creates a new option under Plugins called “Create a Plugin” or something like that. Then you just have to give it a name… then Save it… Paste in the code, save again, and test.
Hope you feel confident giving this a try. Once you succeed with it your confidence will surely grow. I will keep tabs on this thread and reply at least once daily!
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.