Title: HTML Macro Plugin?
Last modified: August 18, 2016

---

# HTML Macro Plugin?

 *  [charleskrause](https://wordpress.org/support/users/charleskrause/)
 * (@charleskrause)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/html-macro-plugin/)
 * Does anyone know of a plugin that might do this:
 * * Allow the administrator(s) to specify predefined blocks of HTML code in a control
   panel. Features like classifying them, and grouping them might be nice, but not
   required.
 * * Add a collapsible box in the editor screen, with a drop down selection box 
   allowing the editor to select the “code blocks”, and a “paste button” which adds
   the predefined code at the cursor point.
 * * (optional) Automatically add a section of CSS formatting to all post pages (
   I know this **can** be done), with formatting classes for the predefined blocks.
   A “global” style sheet might be acceptable. “Block specific” CSS would be nice.
 * * (optional) Understand TinyMCE and be able to add the HTML code to the editor
   pane as well.
 * I think this could be very useful for defining “standard” types of entries – 
   such as book reviews, movie reviews, etc. – and could be used to easily add microcontent
   formats such as those defined @ [http://microformats.org](http://microformats.org).
 * Does something like this exist, or should I start tinkering with code? 😉

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [charleskrause](https://wordpress.org/support/users/charleskrause/)
 * (@charleskrause)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/html-macro-plugin/#post-418600)
 * bump :p
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/html-macro-plugin/#post-418602)
 * No to all of the above…. but what I did for a client last month was define a 
   quicktag button for a three row nine cell table (financial data) so that he or
   his editors could click the “Table” button and have the relevant html appear 
   automagically in the post entry field….
 * So a multi-organism can be quicktag defined, your review setup etc. could be 
   done, no problem. If you want to see the code I implemented, feel free to email
   me at vkaryl*at*bytehaven*dot*com.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTML Macro Plugin?’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [Macro](https://wordpress.org/support/topic-tag/macro/)

 * 2 replies
 * 2 participants
 * Last reply from: [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * Last activity: [19 years, 10 months ago](https://wordpress.org/support/topic/html-macro-plugin/#post-418602)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
