Make WordPress Core

Opened 6 years ago

Last modified 4 years ago

#20816 closed enhancement

custom-background $args enhancement — at Initial Version

Reported by: frumph Owned by:
Milestone: 3.8 Priority: high
Severity: normal Version: 3.4
Component: Customize Keywords: has-patch
Focuses: Cc:


Looking to have added the rest of the arguments to pass through the $args to include the rest of the appearance -> background parameters including but not limited to position(x/y), repeat and attachment.

add_theme_support('custom-background', $args);




'default-color' => '000000', 'default-image' => get_stylesheet_directory_uri() . '/images/background-wolfbw.jpg', 'repeat' => 'no-repeat', 'position-x' => 'center', 'attachment' => 'fixed' );


ie. the repeat position(x/y) and attachment parameters

Main themes even child themes have looks which sometimes need to incorporate fixed or positioning that cannot be set with the current $arguments and it would benefit theme designers to allow those arguments to be passed

Change History (0)

Note: See TracTickets for help on using tickets.