Skip to content

trepmal.com

  • Home
  • Plugins
  • Github
  • Me on WP.org
  • Donate

Categories

  • WordPress Bits (149)
  • Uncategorized (11)
  • Scripts (5)
  • Tidbits (5)
  • Fun (3)

Tags

  • wordpress (30)
  • administration (16)
  • plugin (9)
  • free download (8)
  • functions.php (8)

Year

  • 2018 (8)
  • 2016 (2)
  • 2015 (4)
  • 2014 (19)
  • 2013 (11)

Global: BACKGROUND_COLOR

Set Default Background Options

If you’re working on a theme, you might want to set some default background values for your users, it’s easy to do so without changing it permanently.

define('BACKGROUND_IMAGE', 'http://colorto.me/png/20/rand/rand');
define('BACKGROUND_COLOR', 'a90');
Posted on April 25, 2011March 1, 2012Categories WordPress BitsTags background, themesLeave a comment on Set Default Background Options
Proudly powered by WordPress