Custom Background Changer source code

By Anshul Gangrade, on WordPress.org since 2016. 1,000+ active installs.

Browse code Download zip

Custom Background Changer lets you control the background of every post and page individually. Below is its source code for every one of its 3 releases, what changed in the latest one, and how often it ships.

What changed in 4.0

Released Jul 9, 2026, 8 years after 3.0
  • NEW: CSS Gradient background support with angle control and live preview.
  • NEW: Color Overlay with opacity slider for images and videos.
  • NEW: MP4 Video Background support (autoplay, loop, muted).
  • NEW: Background size control (auto/cover/contain).
  • IMPROVED: Premium tabbed admin UI for easy organization.
  • IMPROVED: Live gradient preview directly in the admin.

4 files changed since 3.0: 4 modified, 0 added, 0 removed.

Compare 3.0 with 4.0

Release history

3 releases since July 2016
  1. 4.0 Jul 9, 2026 NEW: CSS Gradient background support with angle control and live preview.
  2. 3.0 Mar 26, 2018 SECURITY: Patched XSS vulnerabilities.
  3. 2.0 Jul 19, 2016 Fixed some bugs. Change metabox layout.
Full Custom Background Changer changelog with diffs

Source of 4.0

4 files
Browse all Custom Background Changer 4.0 files Browse trunk