Title: [Plugin Development] Insert a div before/after/append a div
Last modified: August 22, 2016

---

# [Plugin Development] Insert a div before/after/append a div

 *  [sasherwood93](https://wordpress.org/support/users/sasherwood93/)
 * (@sasherwood93)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-development-insert-a-div-beforeafterappend-a-div/)
 * Hi,
 * I am developing a plugin which will have different options which will display
   different styles.
 * The problem I am having is that I would like to have the main options set through
   my plugin to append the header element or prepend the main content element. The
   reason being is that I want to be able to utilise the full width of a page, when
   set.
 * I dont really want to use jQuery, but as a php function instead.
 * Any help php or jQuery will be appreciated.
 * -Stephen

The topic ‘[Plugin Development] Insert a div before/after/append a div’ is closed
to new replies.

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [plugin-development](https://wordpress.org/support/topic-tag/plugin-development/)

 * 0 replies
 * 1 participant
 * Last reply from: [sasherwood93](https://wordpress.org/support/users/sasherwood93/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-development-insert-a-div-beforeafterappend-a-div/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
