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
- Upload ‘bgcolor_setter.php’ and ‘functions.js’ files to ‘/wp-content/plugins/’
- Activate the plugin through the ‘Plugins’ menu in WordPress
- 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.Contributors