Colorlib 404 Customizer source code

By colorlibplugins, on WordPress.org since 2018. 5,000+ active installs.

Browse code Download zip

Every site gets 404s. Someone mistypes a URL, an old link goes stale, a page moves. Most themes answer with a bare “Nothing found” and no way out, and that visitor leaves. Below is its source code for every one of its 21 releases, what changed in the latest one, and how often it ships.

What changed in 1.1.2

Released Nov 26, 2026, 30 minutes after 1.1.1
  • Tested up to WordPress 7.2 and PHP 8.6.
  • Tested up to now lives only in readme.txt. Plugin Check reports it in the plugin header as an error, and the plugin directory kept showing the older header value.

3 files changed since 1.1.1: 3 modified, 0 added, 0 removed.

Compare 1.1.1 with 1.1.2

Release history

21 releases since December 2018
  1. 1.1.2 Nov 26, 2026 Tested up to WordPress 7.2 and PHP 8.6.
  2. 1.1.1 Nov 26, 2026 Fixed: * Editing the heading, message or button text reloaded the whole preview after every change instead of updating it in place. * The rich-text editor for those fields never loaded on block themes, leaving plain text boxes. * With header and footer enabled on a block theme, the page showed a generic fallback header and footer instead of the theme’s own, and logged two deprecation notices on every 404. Classic themes, and block themes that still include header.php, are unchanged. * With header and footer enabled, the Text Color setting also recoloured the theme’s header, footer and the admin bar. It now applies to the 404 design only, and Custom CSS that overrides it keeps working. * Custom CSS lost the > child combinator on save, so .a > .b quietly became .a .b. * Background image URLs containing & were written into the CSS as & and failed to load. * The template picker could not be used with the keyboard. When Colorlib Coming Soon was active, its styles also hid this plugin’s picker controls. * Opening the plugin from the admin menu loaded the home page in the preview first, and closing the panel always went back to the home page rather than the page you were previewing. * The review notice came back every month and ignored “No, not good enough”; its day-30 reminder never appeared.
  3. 1.1.0 Aug 10, 2026 Fixed: * The 404 stylesheet, its Google Fonts and jQuery were loaded on every page of the site instead of only on 404 pages. * Dropped the manual load_plugin_textdomain() call, clearing the _load_textdomain_just_in_time notice on WordPress 6.7+. WordPress has resolved plugin translations automatically since 4.6. ( https://github.com/ColorlibHQ/colorlib-404-customizer/issues/30 ) * The admin menu entry now stops after redirecting to the Customizer, which is what produced the “does not have a method settings_page” fatal error. ( https://github.com/ColorlibHQ/colorlib-404-customizer/issues/28 ) * The Customizer preview loaded its stylesheet from a filesystem path, which is why editing shortcuts rendered unstyled when header and footer were disabled. ( https://github.com/ColorlibHQ/colorlib-404-customizer/issues/25 ) * Templates 10, 15 and 16 had misspelt element ids, so their heading and back-to-home text never updated in the live preview. * The Heading control is now hidden for template 13, which has no heading and silently ignored the setting. * Template 4 printed the main content setting without sanitisation. * Undefined array key warnings on PHP 8 when the settings row was incomplete. * The preview thumbnails for templates 11 and 16 showed background photos those designs do not render. * Added the missing direct-file-access guard to one Customizer section class.
  4. 1.0.98 Dec 2, 2025 Fixed: Textdomain fix for wordpress 6.8+
  5. 1.0.97 Feb 3, 2025 Fixed: Missing callback method PHP error. ( https://github.com/ColorlibHQ/colorlib-404-customizer/issues/28 )
Full Colorlib 404 Customizer changelog with diffs

Source of 1.1.2

83 files
Browse all Colorlib 404 Customizer 1.1.2 files Browse trunk