WP-Mix

A fresh mix of code snippets and tutorials

Search query: wp-config

Found 14 matching results

Page 1 of 2

WordPress wp-config.php tricks

A concise collection of wp-config.php tricks from my WordPress sites to yours.

Stop WordPress from adding bundled plugins and themes during updates

By default, WordPress installs its bundled themes and plugins every time the software is updated. So for example, if you’re running the Hello Dolly plugin and a new version is available, WordPress will update the plugin when you upgrade WordPress.

18 Sweet WordPress Functions

Here is a collection of 18 sweet WordPress functions that can be used to improve the functionality of any WordPress-powered site. Enjoy!

WordPress Fix Image Upload Errors

Here are some quick tips to help troubleshoot and fix image and file upload errors in WordPress. Hopefully it helps someone out there get things back on track with their uploaded images. I know it can be frustrating!

WordPress configuration tricks

Some pipin’ hot WordPress configuration tricks for the wp-config.php file. All snippets strictly plug-&-play, no fiddling required. I use most of these on my own sites, so thought I would share ’em here at WP-Mix.

Get WP, PHP, and SQL Info

Here are some sweet code snippets for getting various types of server information. Includes more functions for getting and/or checking various types of WordPress, PHP, and SQL data. Strictly plug-&-play for quick reference and copy/paste usage.

WordPress Cron Not Working

Some servers disable the functionality that enables WordPress Cron to work properly. This post provides an easy fix that should work on any server.

WordPress repair and optimize InnoDB

This tutorial explains how to use WordPress’ built-in tools for optimizing database tables that are of the InnoDB type. Also works for good ’ol MyISAM database tables.

Protect files with .htaccess

Here are some examples of how to use .htaccess to protect any sensitive files on the server.

Disable WordPress Automatic Updates

In case you haven’t noticed, WordPress auto-updates its core files by default. Neat but not always desired. Here is how to disable auto-updates with a few lines of code.

WordPress Load Order

Micro-post today, on the load order of WordPress..

Display performance stats in WordPress

Here is how to display the page-generation time based on PHP and MySQL.