Discover, trust, install: FAIR 1.0 is here

Plugin Banner

BGColor Setter

by grigori991

Version: 1.0

Download
Description

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).

  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.

1.0

  • Version:Version: 1.0
  • Last updated:Last updated: 25-03-2013
  • Requires:Requires: 2.8
  • Tested:Tested: 3.5.2
Average rating:0 out of 5 stars.
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
Back to top