Add WordPress buttons

If you want a button to add anchors on your page, for example, but do not want to do all that coding described earlier here’s a simple way of adding more function buttons to the WordPress CMS. This also adds buttons to enable you to change the font easily.

Go to Appearance and edit, select Theme Functions – do the usual copy and paste into a text document for safety – and add at the end but before the final ?> the following text:

function ilc_mce_buttons($buttons){array_push($buttons, "backcolor", "anchor", "hr", "fontselect", "sub", "sup");return $buttons;}
add_filter("mce_buttons", "ilc_mce_buttons");
This advice was shamelessly stolen from I Love Colors (new window)

Comments are closed.