• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP Bitz

A curated collection of code snippets for WordPress

  • Home
  • About
  • Blog
  • Code Snippets

Bitnami WordPress Autoptimize cannot write to the cache directory

WordPress Development Tips · December 15, 2022

If you are running the Bitnami WordPress stack. unsing the Autoptimize plugin, and get the "Autoptimize cannot write to the cache directory" …

Continue Reading

Create and delete WordPress sites in XAMPP with a batch file

WordPress Development Tips · November 8, 2022

If you do a lot of WordPress development work, you may find it useful to have ways to quickly spin up WP sites for testing and development …

Continue Reading

How to fix “Error: MySQL Shutdown Unexpectedly” in XAMPP control panel

WordPress Development Tips · November 7, 2022

Are you having trouble with the XAMPP error: MySQL shutdown unexpectedly? This is usually the result of corrupted files or an improper …

Continue Reading

Fix missing Customizer in WordPress 6

WordPress Development Tips · October 28, 2022

If you're using WP 6+ and have a theme that supports Full Site Editing, then you probably noticed that the Customizer is gone. But what if …

Continue Reading

Use Proofy.io API to validate WordPress registrations

WordPress Development Tips · October 24, 2022

There are many uses for email deliverability validation, but one great (and simple) example is how to set up email validation on WordPress …

Continue Reading

How to Install and Run WP-CLI on Windows

WordPress Development Tips · February 4, 2022

WP-CLI is a powerful command-line tool for managing WordPress. Unfortunately, most of the information on the Internet on how to install it …

Continue Reading

Get an array of variation IDs for a WooCommerce product

WordPress Development Tips · December 22, 2021

If you need variation IDs for a WooCommerce product and you know the WC product ID, you can use one of the two following code snippets to …

Continue Reading

Check and delete orphaned post meta in WordPress

WordPress Development Tips · July 8, 2021

Through the natural course of managing a WordPress site and its database, you may end up with some orphaned post meta. This is especially …

Continue Reading

Block an IP address from accessing your site

WordPress Development Tips · June 19, 2020

Generally, you can use your .htaccess file to block access to your site from certain IP addresses. This can be an effective method of …

Continue Reading

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Primary Sidebar

Join for free!

Get free code snippets, WordPress best practices, and practical Content Marketing advice from seasoned WordPress expert Chad Butler (butlerblog):

Recent Posts

  • Bitnami WordPress Autoptimize cannot write to the cache directory
  • Create and delete WordPress sites in XAMPP with a batch file
  • How to fix “Error: MySQL Shutdown Unexpectedly” in XAMPP control panel
  • Fix missing Customizer in WordPress 6
  • Use Proofy.io API to validate WordPress registrations

Copyright © 2023 · Maker Pro on Genesis Framework · WordPress · Log in