Title: Dynamic divs?
Last modified: August 19, 2016

---

# Dynamic divs?

 *  [GeorgeHurst](https://wordpress.org/support/users/georgehurst/)
 * (@georgehurst)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/dynamic-divs/)
 * Hi there,
 * I’ve been using wordpress for a while now and am pretty comfortable with theme
   development, but know I’ve only really scratched the surface.
 * For the wordpress sites I make I currently make a theme from scratch so that 
   I can style it exactly how I like in CSS and then create the individual pages
   in the WP admin panel by adding pages. To insert content into the pages I type
   HTML into the content box of the ‘New Page’ panel. The content box basically 
   forms the content of a div called “main” in index.php or a template file.
 * This process works well but is slightly labour intensive as the content for every
   page has to be coded in full.
 * So, my question is, can I put ‘dynamic divs’ into the index.php or template files?
   By this I mean, can I place all the _structure_ (i.e. the divs) in the template
   files, so that I can write ‘shorthand’ in the content box of the New Page panel.
   Perhaps there is a way of ‘calling’ the divs?
 * I hope that makes sense… I’m sure there is a relatively simple solution but I’ve
   tried searching the codex and can’t seem to find the right search term.
 * Any help appreciated.
 * Thanks
    George

Viewing 1 replies (of 1 total)

 *  Thread Starter [GeorgeHurst](https://wordpress.org/support/users/georgehurst/)
 * (@georgehurst)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/dynamic-divs/#post-1765562)
 * Bump…
    Any help, hints, places to look, appropriate search terms? – I don’t mind
   reading up on it I just need to know what I’m looking for! Cheers

Viewing 1 replies (of 1 total)

The topic ‘Dynamic divs?’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [GeorgeHurst](https://wordpress.org/support/users/georgehurst/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/dynamic-divs/#post-1765562)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
