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
FF0033(rose).
安装:
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
升级注意事项:
1.0
Recent version. No upgrade requires.
常见问题:
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.