WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/background image

Contents

Description

Display background image for the current active theme.

Usage

<?php background_image(); ?>

Parameters

None.

Return Values

(void) 
This function does not return a value.

Examples

<img src="<?php background_image(); ?>" />

Notes

Change Log

Since: 3.0.0

Source File

background_image() is located in wp-includes/theme.php.

Related

get_background_image(), background_color(), get_background_color()


This article is marked as in need of editing. You can help Codex by editing it.
See also index of Function Reference and index of Template Tags.