Documentation / Tutorials / Awesome Enterprise

Enabling Code Editor for Custom Post Types

/ Awesome Enterprise / Enabling Code Editor for Custom Post Types

In case you need to show code editor in the place of normal WordPress editor, where is what you need to do.

Just go to Core -> Settings and create a meta key “opt-editor-settings” and in value add the posts_type list in a comma-separated format.

 

Alternatively, you can also do the following in the site-specific plugin to enable code editor

 

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *