View Single Post
Old 04-04-2011, 05:57 PM  
Eldon Hoke
Confirmed User
 
Eldon Hoke's Avatar
 
Industry Role:
Join Date: Mar 2011
Posts: 323
Quote:
Originally Posted by DWB View Post
No, I mean IN the code. Not on the page itself when posting. I want to ADD buttons to it, to the actual admin.

Example, you see B there now. But what if I want to make it B and 2 font sizes larger, and red. Want to be able to add that to the admin buttons there. Without actually doing it in html.
I wouldn't bother editing the Wordpress core files. Makes it a pain when you have to upgrade, as these files get overwritten.

A better method would be to use this:-

http://wordpress.org/extend/plugins/addquicktag/

Then for the start tag add this:-

Code:
<span class="red-text">
And the end tag:-

Code:
</span>
Then go to your theme folder, open up style.css and add this class selector:-

Code:
.red-text {color:red;font-weight:bold;font-size:larger;}
Eldon Hoke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote