gaoluinn

scríbhinní ⁊ deocháin do chuallucht na Gaelainne

Músgraí Ceil Eagarthóir HTML WP — A Plug-in to Hide the WordPress HTML Editor

Author: Mícheál Ó Lochlainn, Áras Shorcha Ní Ghuairim, Acadamh na hOllscolaíochta Gaeilge, Ollscoil na hÉireann, Gaillimh.

Published: 2nd March 2016.

An leathanach so à Gaelainn.

Keywords

WordPress, TinyMCE, plug-in, editor, HTML.

Introduction

Out of the box, WordPress provides a graphical page and post editor (TinyMCE), along with a HTML editor to allow users to enter content by writing their own markup. The ability to go under the bonnet and write or polish markup by hand is always A Good Thing as long as the people that have it have the right skills, self-discipline and — when they're on the nine-to-five — professionalism.

But it can be a big problem where WordPress is being used to implement a house style or where it has custom functionality that can be broken or subvereted by un-skilled or un-disciplined users or data entry operatives who have a little knowledge. Not to mention the kinds of thick, bold or downright spiteful ones who are always going to do things they way they see fit and to hell with managerial or editorial policy.

Músgraí Ceil Eagarthóir HTML WP doesn't disable or remove the HTML editor but it puts it beyond use by forcing WordPress to default to the graphical editor and then hiding the buttons that would allow the user to switch to the HTML one.

The plug-in isn't a magic wand of course. It won't leash headstrong WordPress Administrators and Super Admins, who can simply de-activate or delete it but it will lock down that part of the interface for Editors, Authors, Contributors and Subscribers.

Download Músgraí Ceil Eagarthóir HTML WP

Install Músgraí Ceil Eagarthóir HTML WP

Just extract the músgraí-ceil-eagarthóir-html-wp directory from the tar.gz or zip file, upload it to the WordPress plugins directory, activate as normal and that's it. There's no settings, no control panel and nothing for the users to do but get on with writing posts and pages — in the graphical editor.