Title: Generating Pre Defined Code
Last modified: August 18, 2016

---

# Generating Pre Defined Code

 *  [dakev](https://wordpress.org/support/users/dakev/)
 * (@dakev)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/generating-pre-defined-code/)
 * Greetings.
 * I’ve got a video blog that I’m trying to configure for WordPress. I’m not using
   the WYSIWYG editor, so with the editor I do use, I’ve got a few buttons that 
   when pushed will display different tags within my post.
 * Is it possible, instead of generating a tag, I could set up a button to generate
   some code (which I use to call a javascript popup passing a dynamic php page 
   to display my videos), to include html and a call to a javascript function?
 * I’ve read the tutorial on customizing those buttons to generate tags, but I don’t
   think it works to generate many lines of code… which may include a “‘” which 
   screws up the customizing button. (I hope I’m not confusing you.)
 * Maybe a widget might work but I’m having trouble finding one that would be appropriate.
 * What would be the best way to do what I’m trying to do?

The topic ‘Generating Pre Defined Code’ is closed to new replies.

## Tags

 * [customization](https://wordpress.org/support/topic-tag/customization/)
 * [defined](https://wordpress.org/support/topic-tag/defined/)
 * [Generation](https://wordpress.org/support/topic-tag/generation/)
 * [pre](https://wordpress.org/support/topic-tag/pre/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dakev](https://wordpress.org/support/users/dakev/)
 * Last activity: [19 years, 10 months ago](https://wordpress.org/support/topic/generating-pre-defined-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
