Skip to:

Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#2749 closed enhancement (fixed)

Add custom background function to theme

Reported by: karmatosed's profile karmatosed Owned by: djpaul's profile DJPaul
Milestone: 1.5 Priority: normal
Severity: Version:
Component: Templates Keywords:


Add the custom background function to the default theme

functions.php: ADD:

// This theme allows users to set a custom background

default.css body{}: CHANGE *remove the background image:

body {
background: #eaeaea;

Change History (5)

#1 @DJPaul
14 years ago

  • Owner set to DJPaul
  • Status changed from new to assigned

#2 @DJPaul
14 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

This was fixed in r3458; I forgot to make a note on the commit, sorry.

karmatosed - Rather than take out the background gradient image, I switched it from the shorthand property to the individual properties which are then overridden by the CSS that WordPress inserts into the page head.

#3 @DJPaul
14 years ago

sidebar-footer.php was lifted from Twenty Ten, so props to the WordPress team for that, and I'm sorry again for forgetting to note this on the commit ticket.

#4 @djpaul
14 years ago

(In [3496]) Refactor functions.php to use appropriate theme-loading actions.
Improved support for custom thumbnails; now supports global page header as well as a per-post/page header.
Key functions are now hookable.
Add full phpDoc.
Props to the WordPress team and Twenty Ten for some of the phpDoc.
Fixes #2749, #2754, #2751.

#5 @DJPaul
8 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.