WordPress
-
Add Content on Plugin Activation
Just had a request for automagically creating content when you activate a theme. Here’s how to do it with a PLUGIN as well! [read more]
-
Add content on Theme Activation!
Here’s a really cool code snippet for automagically creating content when you activate a theme! [read more]
-
Set a Dashboard Logo
This snippet of code will allow you to customize your WordPress dashboard logo. [read more]
-
Install WordPress via SSH
The following are the commands needed to install WordPress from the command line. [read more]
-
Universal wp-content Directory
Add this code to your wp-config.php file when installing a self-contained WordPress install on this site. This will ensure that the themes and plugins directories pull from the main wp-content directory on this server. The additional code will ensure that the uploads are left within the individual site install. [read more]
-
Featured Image Replacement
Use this snippet of code to display an image when the featured image isn’t set. Works with images inserted in posts (and galleries!). [read more]