This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

BGColor Setter


Plugin registeres simple widget within wordpress blog, that allows any visitor to change background
color of theme. Actually it doesn’t change theme’s css file, but renders some style tag to user
browser, that change the color locally.
New background color associates only with user, that setted the color, and it tracks from cookie.
So, if first visitor sets background color to ‘Rose’, second visitor can choose ‘Lime’ and third can
leave that attribute to default and everyone get what they want at same time.
If blog visitor sets background color to ‘Default’, browser explicitly deletes the cookie. Otherwise,
cookie deletes itself after 30 days.
Widget uses 4 ‘web-safe’ colors – #00FF00 (lime), #00FFFF (bluegreen), #9933FF (violet) and



  1. Upload ‘bgcolor_setter.php’ and ‘functions.js’ files to ‘/wp-content/plugins/’
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add BGColor Setter widget to sidebar and enter its title


I want to add custom colors to widget. Is it possible?

Yes, it’s possible. You should edit .php and .js files for that. Code in those files is well-commented
and you shouldn’t have any problems.

Contributors & Developers

“BGColor Setter” is open source software. The following people have contributed to this plugin.


Translate “BGColor Setter” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.