When I'm creating a new post, just after clicking "Add New", when the post editor shows, instead of having to use the dropdown and choose a custom field to use, I'd like to have some default custom field inputs already opened.

None of the codes from here worked for me


1 Answer 1


you can do that better with install advanced custom fileds plugins or any plugin and specify the custom field to all posts , you can install this plugin

or by your simple codes in wordpress and choose one

  • I was hoping to do this without plugins.. and none of the codes there suffice ..
    – user159405
    Commented Jan 20, 2019 at 21:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.