Title: [Plugin: Custom Post Background] Include Categories?
Last modified: August 19, 2016

---

# [Plugin: Custom Post Background] Include Categories?

 *  [aliasfreq](https://wordpress.org/support/users/aliasfreq/)
 * (@aliasfreq)
 * [17 years ago](https://wordpress.org/support/topic/plugin-custom-post-background-include-categories/)
 * This plugin is a great idea. Is there any chance of including custom backgrounds
   per category in a future version (or is there another plugin that can do this)?
   This would be very useful.
 * [http://wordpress.org/extend/plugins/custom-post-background/](http://wordpress.org/extend/plugins/custom-post-background/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [zentode](https://wordpress.org/support/users/zentode/)
 * (@zentode)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-custom-post-background-include-categories/#post-1039860)
 * Yes, I agree. That would be great! Also, in settings, I would like to be able
   to assign my own class in which the image would appear. So, wherever I have that
   class assigned in a template, there is the bg image if the criteria in settings
   is met.
 * Ideally, in my application, the settings area would enable me in selecting the
   category, image (or color) and the style class/id. Then, in Post screen, there
   is a checkbox next to each category select checkbox (that was assigned in settings)
   that will enable the image or not.
 * Better still, I would REALLY love to have thumbnails in the Post / Page routine
   in the right column. These were assigned to appear via the Post Background settings.
   Just select one and it is the bg no matter if post, page or archive as long as
   the assigned class/id or call to function is in the themes template.
 * Or maybe even not a class but:
    In template file(s)
 * if (the on/off switch) }
    <div style=”background:url(<?php cpb(image) ?>) <?php
   cpb(repeat) ?>; “> } Which would allow the sizes of the area to be set along 
   with other theme specific stylings.
 * And world peace…
 * However, just “by category” would be great for now!
 * GREAT plugin as it is. Thanks for it..
 *  [zentode](https://wordpress.org/support/users/zentode/)
 * (@zentode)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-custom-post-background-include-categories/#post-1039861)
 * Ok, here is what I am doing for now instead of re-inventing the wheel. I am using
   the “Add an Image” from the wysiwyg in the post / page area.
 * Then, in my template file, I am doing a preg_match_all to grab the entire image
   tag from the posts content. Then grabbing the url for the image and setting the
   image as a background. Returns the content, minus the image tag, over the background.
 * Currently working on grabbing the images width / height and setting that too.
   Maybe even a character count limitation based on the images size.
 * Works great for my needs (only one image in each post). Placing the content text
   over the background image.
 * Once I get it done, I will post it here.
 *  [elluca](https://wordpress.org/support/users/elluca/)
 * (@elluca)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-custom-post-background-include-categories/#post-1039868)
 * Hey everyone
 * I need this feature as well.
 * Zentode, did you make any progress?
 * I am using wp for some time now and i have been looking for such a plugin since
   then. would be nice to have the one and only background / header image plugin.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Custom Post Background] Include Categories?’ is closed to new
replies.

 * 3 replies
 * 3 participants
 * Last reply from: [elluca](https://wordpress.org/support/users/elluca/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-custom-post-background-include-categories/#post-1039868)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
