I was recently reviewing WordPress backup plugins for a Treehouse project and came across BackWPup (from the folks at MarketPress.com). From the research I have done, this is the best featured most solid free backup option for WordPress. It has all of the following important features Backup files and/or database Schedule backups Create multiple backup Jobs Backup to server Send backups … Continue reading The Best Free WordPress Backup Plugin
Author: Zac
PHP for WordPress Talk on WordCamp TV
A couple weeks ago I had a chance to present on PHP for WordPress at WordCamp Baltimore 2015. Thanks to the good folks who recorded and got everything together to post on WordCamp.tv you can now watch the video of the talk. https://videopress.com/v/cc1cGhB3 Check it out and then head over and learn more about my … Continue reading PHP for WordPress Talk on WordCamp TV
Slides for WordCamp Baltimore – Learning PHP for WordPress Development
I'm very excited to be back at a WordCamp in Baltimore, a town I love. Today I am speaking on PHP for WordPress, a topic near and dear to my heart since I learned PHP via WordPress and, as a teacher, guide others on this path as well. https://speakerdeck.com/zgordon/php-for-wordpress After you check out the slide … Continue reading Slides for WordCamp Baltimore – Learning PHP for WordPress Development
WP Roundtable Interview with Zac Gordon
Thanks to the folks at the WP Roundtable Podcast for having me on the show to talk about WordPress, teaching at Treehouse, running Web Hosting for Students and more! https://youtu.be/2uPrf5TEa7g
oEmbed Gist into WordPress
I just stumbled across a cool way to oEmbed a Gist directly into a WordPress post. This means that rather than copying the js embed code from a Gist I can simply paste out the link to a Gist instead. Nice I had a little trouble getting it to work though. First I had to remove an … Continue reading oEmbed Gist into WordPress
Slides from WordCamp Philly – Getting Comfortable with WordPress Hooks
I was very happy to attend WordCamp Philly this weekend. Please enjoy the slides from the talk (some of them had embedded video, which is unfortunately not present). https://speakerdeck.com/zgordon/wordpress-hooks
WordPress Database Search and Replace with WP CLI
While working locally on a new site I realized that all of the image URLs were busted. Super happy to test out using the WP CLI search-replace feature for the first time to find out it works great! wp search-replace oldurl.com newurl.com Back in the old days I would use plugins like the Search and … Continue reading WordPress Database Search and Replace with WP CLI
How to Add Meta Descriptions to WordPress Themes Using functions.php
While working on an SEO for WordPress course recently, I was looking for a way to manually add meta descriptions to a theme from the functions.php file. After playing around a bit, I came up with this solution: https://gist.github.com/zgordon/950159056d2ad299b0ee This of course raises the bigger question of why would you want to do this instead of … Continue reading How to Add Meta Descriptions to WordPress Themes Using functions.php
How to Get the ID of a Post or Page in WordPress
If you have ever needed to get the ID of a post or page in WordPress, just use the get_the_ID() function. It accepts no arguments and looks like this: <?php $ID = get_the_ID(); ?> You can also try this method: <?php global $post; echo $post->ID; ?>
How to Deregister, Unqueue and Unhook a Parent Theme CSS Stylesheet
There comes a time when working with a WordPress project where you want to not include certain CSS from a parent theme or plugin. For example, a parent theme may include extra stylesheets that you don't want or a plugin may be adding styles that conflict with your site. On a recent project, I wanted to remove … Continue reading How to Deregister, Unqueue and Unhook a Parent Theme CSS Stylesheet

