Free Stock Photography for WordPress Sites

While installing the Atomic theme for Lookahead Consulting’s updated site, I found a few helpful resources for free stock photos in ArrayTheme’s documentation: Unsplash Boss Fight Jay Mantri Startup Stock Photos Massive Github repo of free resources

Read More

How to Find Your WordPress Directory and Wp-Config.php file

A friend was struggling with this on their installation. They’d forgotten (and not written down) their install directory for WordPress. Here are two simple ways to find your WordPress directory and to find its wp-config.php file: ls /var/www That will show all of the WordPress sites installed for Apache, if your server is using the […]

Read More

How to Reboot Ubuntu with MySQL

I’ve not been able to verify that the reboot sequence on Ubuntu shuts down MySQL prior to restarting. So, I usually stop MySQL first, just to be safe: $ sudo service mysql stop mysql stop/waiting $ sudo reboot $ Broadcast message from server.io (/dev/pts/0) at 13:58 … The system is going down for reboot NOW! […]

Read More

How to Solve WordPress Could Not Create Directory

If you’re trying to upgrade WordPress or install a plugin and getting the “could not create directory” error, there are two levels required to solving it. Here’s an example of the error sequence: Downloading update from http://downloads.wordpress.org/plugin/your-plugin.0.9.3.1.zip… Unpacking the update… Could not create directory. /wp-content/upgrade/yourplugin.tmp Return to Plugins page 1. Web Server Ownership The first […]

Read More

Setting Up a Cron Job for WordPress Scheduling

By default, WordPress runs background tasks on occasion when pages are visited. This can lead to scheduled posts appearing late. If you’d like to set up a real cron job for WordPress, do the following: crontab -e Add the line: */15 * * * * wget -q -O – http://yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1 Also, edit wp-config.php, and […]

Read More

Enhancing Copy and Paste with Your Site URL

<h1>Enhancing Copy and Paste with Your Site URL</h2> When readers copy and paste your text, it can be useful to automatically append your site URL or other copyright or contact information to the clipboard. To see an example, <a href=”damemagazine.com/2014/05/23/amazon-killing-my-sex-life”>visit Dame Magazine</a> and try selecting text, copying and pasting to an email or text editor. […]

Read More

Cloning and Duplicating Posts and Pages

<h1>Cloning and Duplicating Posts and Pages</h1> It’s also quite useful to duplicate posts and pages. I’ve had success with the <a href=”https://wordpress.org/plugins/duplicate-post/”>Duplicate Post WordPress plugin</a>.

Read More

Searching & Replacing Across Your Site

Searching & Replacing Across Your Site Over time, you’ll find situations where it’s helpful to do a global search and replace across your site content. WordPress doesn’t support this directly. You can either use MySQL to search and replace directly or you can use the search and replace plugin. Note: Before you do this, it’s […]

Read More

Setting Up a Contact Form

Setting Up a Contact Form The two hard parts about WordPress contact forms are 1) preventing spam and 2) enabling mail services on some WordPress hosts. It’s best not to try to host your own mail server. I’ve found that combining the Contact Form 7 plugin with the Mailgun for WordPress plugin provides an elegant solution. […]

Read More