Title: [Plugin: Developer Code Editor] Not working
Last modified: August 20, 2016

---

# [Plugin: Developer Code Editor] Not working

 *  [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * (@sjaved)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/)
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * [http://wordpress.org/extend/plugins/developer-code-editor/](http://wordpress.org/extend/plugins/developer-code-editor/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [ChrisHurst](https://wordpress.org/support/users/chrishurst/)
 * (@chrishurst)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459627)
 * I have just posed an updated version of the Developer Code Editor Plugin for 
   WordPress. Perhaps you can try the new version to resolve your troubles.
 *  Thread Starter [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * (@sjaved)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459798)
 * Ok thanks i will try.
 *  Thread Starter [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * (@sjaved)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459799)
 *     ```
       _plugin_dir = DIRECTORY_SEPARATOR . str_replace(basename(__FILE__), null, plugin_basename(__FILE__)); $this->_settings_url = 'options-general.php?page=' . plugin_basename(__FILE__);; add_action('admin_print_scripts-theme-editor.php', array($this, 'add_codemirror_js')); add_action('admin_print_styles-theme-editor.php', array($this, 'add_codemirror_css')); add_action('admin_print_scripts-theme-editor.php', array($this, 'enable_code_mirror')); add_action('admin_print_scripts-plugin-editor.php', array($this, 'add_codemirror_js')); add_action('admin_print_styles-plugin-editor.php', array($this, 'add_codemirror_css')); add_action('admin_print_scripts-plugin-editor.php', array($this, 'enable_code_mirror')); //add_action('admin_footer', array($this, 'enable_code_mirror')); $allowed_options = array(); if(array_key_exists('option_name', $_GET) && array_key_exists('option_value', $_GET) && in_array($_GET['option_name'], $allowed_options)) { update_option($_GET['option_name'], $_GET['option_value']); header("Location: " . $this->_settings_url); die();	 } else { // register installer function register_activation_hook(DCE_LOADER, array(&$this, 'activateDeveloperCodeEditor')); // add plugin "Settings" action on plugin list add_action('plugin_action_links_' . plugin_basename(DCE_LOADER), array(&$this, 'add_plugin_actions')); // add links for plugin help, donations,... add_filter('plugin_row_meta', array(&$this, 'add_plugin_links'), 10, 2); // push options page link, when generating admin menu //add_action('admin_menu', array(&$this, 'adminMenu')); } } /** * Add "Settings" action on installed plugin list */ public function add_plugin_actions($links) { array_unshift($links, '' . __('Settings') . ''); return $links; } /** * Add links on installed plugin list */ public function add_plugin_links($links, $file) { if($file == plugin_basename(TW_LOADER)) { $links[] = 'Premium Plugins'; } return $links; } /** * Add menu entry */ public function adminMenu() {	 // add option in admin menu, for setting options //$plugin_page = add_options_page('Developer Options', 'Developer Options', 8, __FILE__, array(&$this, 'optionsPage')); } function add_codemirror_css(){ ?>
       ```
   
 * I tried your new version but still not working. This the error that wordpress
   throw at plugin activation and fatal error Headers Already sent.
 *  Plugin Author [ChrisHurst](https://wordpress.org/support/users/chrishurst/)
 * (@chrishurst)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459828)
 * Very strange, what version of WordPress are you using?
    Have you tried enabling
   this plugin with the other plugins disabled?
 * Thanks!
 *  Thread Starter [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * (@sjaved)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459901)
 * WordPress 3.3 version and fresh install with akismat and hello dolly plugins.
 *  Thread Starter [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * (@sjaved)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459902)
 * ok christ can u help me how to create a plugin using wp taxonomies.
 * I want to to create a plugin for web directory listings and for this i need to
   create some categories and subcategories.
 * or can u provide any link of the tutorial in which this topic is discussed.
 * thanks for help in advance.
 *  Plugin Author [ChrisHurst](https://wordpress.org/support/users/chrishurst/)
 * (@chrishurst)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459911)
 * We released another updated version of the Developer Code Editor, you might give
   that a try. v1.2
 * As for your other question, I have used a plugin called custom post types to 
   setup custom taxonomies before. search in the plugins and you will find something
   useful I am sure!
 * Thanks!
 *  Thread Starter [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * (@sjaved)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459915)
 * ok thanks i will try latest version.
 *  Thread Starter [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * (@sjaved)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459916)
 * no dude the error is still there to make me
    ffffffffffffoooooooooossssss.
 * not working.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: Developer Code Editor] Not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/developer-code-editor_cacaca.svg)
 * [Developer Code Editor](https://wordpress.org/plugins/developer-code-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/developer-code-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/developer-code-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/developer-code-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/developer-code-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/developer-code-editor/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Sajid Javed](https://wordpress.org/support/users/sjaved/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-developer-code-editor-not-working/#post-2459916)
 * Status: not a support question