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 […]

Filter by Multiple Taxonomies with SEO-Friendly URLs in WordPress

Note: The rule with pagination needs to come first otherwise it will use the non-page rewrite rule. Extensions for Testing These extensions are helpful for testing during development of your rewrites.  Once you have completed development and everything is rewriting as desired these extensions can be removed. Monkeyman Rewrite Analyzer Monkeyman Rewrite Analyzer allows you […]

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 possibly caused by ownership and permissions issues on the files. When you installed your WordPress site it may have been owned by yourusername:staff […]