Add Custom Image Field to WordPress Theme Customizer

To make the theme preview work, in JS in the admin you will need to add… Then to output in your theme you can either output directly using… However, since we are saving this in the DB as an attachment ID, you will probably want to create a template tag function to convert it to […]

Fix for “Failed to connect to FTP Server localhost:21” with WordPress on Mac

If you are trying to run an update via the WordPress admin installed locally on your Mac you may have run into the error “Failed to connect to FTP Server localhost:21”. This is likely caused due to ownership and permissions issues on the files. When you installed your WordPress site it was probably owned by yourusername:staff […]