4 articles Articles posted in Development

Install WordPress Plugins Using MAMP

Install WordPress Plugins Using MAMP

MAMP users might get prompted for FTP credentials when trying to add a new WordPress plugin. One solution is to set MAMP as the owner (www) in Hosts > Permissions but this method will require you to go back and forth frequently. The other solution is to Run Apache/MySQL server as user/user. In MAMP, go to Server > General > Run Apache/MySQL server as user and select your username.

Continue reading →

How to Hide TypeKit Badge

Here’s a quick tip to hide your TypeKit badge using a free account. Using CSS you can do so by setting the display property to none. Simply add the following to your stylesheet img.typekit-badge { display: none !important; } Alternatively consider upgrading to a paid account. Paid users have the option to toggle their badges on and off.

Continue reading →

WP-CLI for MAMP: Common errors

WP-CLI is an awesome collection of command line tools for WordPress but if your development environment includes MAMP you might run into some problems. The goal of this post is to highlight some of the common stumbling blocks you might encounter when trying to install WP-CLI for MAMP and how to fix them. Error Establishing A Database Connection Can’t connect to local MySQL server through socket Undefined Index: SERVER_NAME Error Establishing A Database Connection The …

Continue reading →

MAMP – File Permissions for a Local Development Environment

MAMP – File Permissions for a Local Development Environment

If you use MAMP you’ll probably run into the issue of having to frequently toggle back and forth between file ownership permissions. The easy way to avoid this is to grant group access to MAMP which runs as ‘_www’. You can achieve this by modifying the file permissions in OS X. Here’s how to get around the problem: Go to your server root or project folder in Finder by clicking on the Disk location shortcut …

Continue reading →