Home › Forums › Feature Requests › Code Field › Reply To: Code Field
This is pretty easy to sort out with the make your own field type instructions which can be found here:
http://www.advancedcustomfields.com/resources/creating-a-new-field-type/
I knocked together one pretty quickly as a plugin using this and CodeMirror. I only created it for use with CSS and JS code types but it’s pretty easy to implement.
Edit: I should probably point out that by quickly I mean it took less than 30 minutes.
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.