Title: Custom backgrounds for sections
Last modified: August 21, 2016

---

# Custom backgrounds for sections

 *  [Gooly](https://wordpress.org/support/users/gooly/)
 * (@gooly)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-backgrounds-for-sections/)
 * I started recently with building WP plugins. After two simple first plugins it’s
   now time for something more challenging. I’m building a “one-page-layout” plugin.
   
   In order to accomplish this I have created custom post types which I call ‘Sections’.
   They can be implemtented either by a shortcode or by a template tag/function.
   They can be created an edited in the WP backend, just like pages and posts and
   they are available in custom menu’s. Everything works, so far so good.
 * Now my question
    In a one-page-layout, every section often has it’s own background.
   So I would like my plugin to have the option to set a custom background for every
   single ‘section’. Just like the default WordPress custom background option, but
   this time on “(custom) post level” instead of website level.
 * Of course I could write all the neccesary code from scratch, but I rather use
   eventual WordPress functions for this, so that I don’t need to re-invent the 
   wheel.
    So, is there a way to implement the standard WP custom background option
   in my custom posts? And if it is more complicated than that, where can I find
   functions or documentation on how to do this? What are the keywords to look for?

The topic ‘Custom backgrounds for sections’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Gooly](https://wordpress.org/support/users/gooly/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/custom-backgrounds-for-sections/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
