Title: Moving static HTML into WordPress via plugin
Last modified: August 30, 2016

---

# Moving static HTML into WordPress via plugin

 *  [Buchanan Webmaster](https://wordpress.org/support/users/jeffsydor-bipc/)
 * (@jeffsydor-bipc)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/moving-static-html-into-wordpress-via-plugin/)
 * I’m not finding what I’m looking for on the web so far. I want to take some static
   HTML content from my website [Immigration Blog](http://www.knowingimmigrationlaw.com)
   and make it editable via a simple plugin.
 * I have multiple sites that use this header style but they change slightly based
   on divisions of the company. For example, I want the text ‘Immigration’ to be
   a variable that is changed within the plugin. Same with the color of the text.
 * Where can I find out how to do this? I’m working on rebuilding theses sites so
   that non-programmers have an easier time in creating new blogs.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [Buchanan Webmaster](https://wordpress.org/support/users/jeffsydor-bipc/)
 * (@jeffsydor-bipc)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/moving-static-html-into-wordpress-via-plugin/#post-6378406)
 * Okay update, I’ve figured some stuff out here and have a plugin created that 
   is defining custom variables that are posting to options.php.
 * Now I want to set a default value to each. I’d assume that I would need a function
   similar to this, I’m just not sure how to code this.
    - if a value doesn’t exist, then create it and set value to ‘default’
    - or if the value is empty, then set it to ‘default’
    - This way, if the value does exist, then it shouldn’t reset the value to it’s
      default value when a new value is inserted.

Viewing 1 replies (of 1 total)

The topic ‘Moving static HTML into WordPress via plugin’ is closed to new replies.

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [Buchanan Webmaster](https://wordpress.org/support/users/jeffsydor-bipc/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/moving-static-html-into-wordpress-via-plugin/#post-6378406)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
