Creating table layout in WYSIWYG editor

Why you are not using table? Spaces are ridiculus. On WYSIWYG editor select table with 2 columns and 3 rows, align items in left column to left, and in right to center and everything should work fine. EDIT. Ok, I see where is the problem. TinyMCE (WYSIWYG editor) has table option, but by default it … Read more

How to disable YouTube (and any other oembed) embeding in the editor

The quick way to disable oEmbeds would be add_filter( ‘pre_oembed_result’, ‘__return_false’ ); If you want to disable it for all external links then try: /** * Disable oEmbeds for external links */ add_filter( ‘pre_oembed_result’, function( $result, $url, $args ) { if( parse_url( home_url(), PHP_URL_HOST ) !== parse_url( $url, PHP_URL_HOST ) ) $result = false; return … Read more

Cannot access WordPress Appearance → Editor

Why it happened: Since WordPress back end editor runs on top of WordPress itself, if you cause a critical Error within the PHP files, that will cause error on the backend Admin Panel as well. At that point you will no longer be able to access the backend editor until you fix the error. What … Read more

How to add notice text above Post Editor?

Assuming you’re using gutenberg you need to use javascript to do this. Here’s the steps I would take. In your child theme you’ll need to add some code. Add a new directory “js”. In that directory add a new file called “alerts.js” In that file add this code: (this is the actual warning note) ( … Read more

Can Rich Text features be configured per user?

look here tinymce and users and add something similar to your themes functions.php and maybe work on that by wrapping it with a custom role / capability which you assign to your trusted users: if (current_user_can( ‘have_tiny_mce_options’ ) { tinymce options here } the page example only shows 3 options but im sure that this … Read more

Editor doesn’t load properly on my self-hosted WordPress 3.3

from wordpress.org/forums: WordPress 2.8 includes a concatenation of scripts and CSS. This puts the quality of these scripts at a higher level than before. The temporary solution is to place it in the wp-config.php one of these two values define(‘CONCATENATE_SCRIPTS’, false ); or define(‘SCRIPT_DEBUG’, true); Now this is from over a year ago, worth a … Read more

Use MarkItUp as editor and not the default

Yes, It is possible … there is a good article on DigWP – which points out one warning that MarkDown is not reversible (ie articles written in Markdown get saved in Markdown so if you ever turn off MarkDown, then you’re left with goo on your screen). There is a MarkitUp plugin on the WordPress.org … Read more

Always paste as a text in visual editor

function tinymce_paste_as_text( $init ) { $init[‘paste_as_text’] = true; return $init; } add_filter(‘tiny_mce_before_init’, ‘tinymce_paste_as_text’); For details please follow link : tiny_mce_before_init Thanks!