I have a question in Basic HTML [closed]

This basically means you do not want to use, say “Microsoft Word” to edit your code. Doing so may (and often will) add unnecessary bits of information to the code… causing it to parse unexpectedly when viewed in a browser. Instead, you a code editor (like Adobe Dreamweaver, or a free alternative like Notepad++) to … Read more

How can I create an alternate full-HTML editor for posts?

The Problem It seems that you’re using the normal theme template files for posts and pages to display your custom post type. This means, that you also got the wp_head() hook and other template, that output default (post/page specific) things. The solution Add a template file to your theme, that’s named single-{$post_type}.php and nothing than … Read more

Create keyboard shortcuts for HTML mode

It needs a bit of javascript to do that. You need a listener and some actions. Here we go… At first enqueueing the javascript to the post and post new screens: PHP: add_action( ‘plugins_loaded’, ‘keyboradshortcuts4htmleditor’, 10, 0 ); function keyboradshortcuts4htmleditor(){ add_action( ‘admin_print_scripts-post-new.php’, ‘keyboradshortcuts4htmleditor_enqueue_javascript’, 10, 0 ); add_action( ‘admin_print_scripts-post.php’, ‘keyboradshortcuts4htmleditor_enqueue_javascript’, 10, 0 ); } function keyboradshortcuts4htmleditor_enqueue_javascript(){ … Read more

error code: 523