Custom Background Changer source code
By Anshul Gangrade, on WordPress.org since 2016. 1,000+ active installs.
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.
- assets/css/cbc-metabox.css modified, +8,135 bytes
- assets/js/cbc-metabox.js modified, +2,420 bytes
- custom-background-changer.php modified, +12,464 bytes
- readme.txt modified, +1,001 bytes
Release history
3 releases since July 2016- 4.0 Jul 9, 2026 NEW: CSS Gradient background support with angle control and live preview.
- 3.0 Mar 26, 2018 SECURITY: Patched XSS vulnerabilities.
- 2.0 Jul 19, 2016 Fixed some bugs. Change metabox layout.