This tutorial can probably be achieved with the Discounts Pro extension (affiliate link). And while I’m all for supporting the folks at EDD, sometimes you just don’t feel like shelling out money for something. I struggled for a silly amount of time with whether or […]
Tag: PHP
How WordPress Theme Templates Work
WordPress themes are composed of pieces rather than a single file (as you may see in Blogger). These pieces are composed of multiple different files that are made up of HTML, CSS, and PHP code. Depending on which page you’re viewing on a WordPress site […]
How to Create Your Own Custom UBB Plugin Field (Book Setting)
This is a PHP coding tutorial. I’ve done my best to make the guide as easy to follow as possible, but I still recommend that you be fairly comfortable with code (or at least FTP) before attempting this. The Ultimate Book Blogger plugin already has […]
How to Edit Your Theme’s Functions.php File Without Killing Your Site
You want to add a cool new feature to your WordPress site so you look up a tutorial on how to make it happen. The tutorial gives you a chunk of code and tells you to paste it inside functions.php. You do that. Your site […]
Create an Image Select Control for the WordPress Customizer
I recently found myself in need of an image select field in the Customizer. The Customizer already has some great options built in like radio boxes, select boxes, and so on. But I wanted images to give users a more visual representation of their choices. […]
Tutorial: Using the Customizer to Add Settings to Your WordPress Theme
Since I’m working on migrating all my theme settings to the Customizer I thought I’d start a tutorial series on how to create your own settings. In this tutorial I’m going to be building custom settings into a Twenty Twelve child theme, but of course […]
Code Your Own E-Course Platform on WordPress
This is an advanced coding tutorial. Prior PHP and general plugin creation knowledge is required. When it came time to release my Master Customizer e-course I coded my very own e-course plugin. Why? Three main reasons: I wasn’t interested in paying huge fees for a […]
How to Code Your Own WordPress Widget
There are three parts to creating your own WordPress widget: Creating the form in the admin area, where you enter the widget title and any other settings. Coding the part that saves that form data. Displaying the actual widget on the front-end of your site. […]
Code Your Own Simple Voting Plugin in WordPress
This is an advanced coding tutorial and not for the faint of heart! A few months ago I hosted a vote for the best-dressed Tweak Me theme. I needed to allow awesome readers like you to browse through the entries and super easily vote for […]
White Screen of Death: What it Means and How to Fix It
You’re messing around in your functions.php file (courtesy of Appearance > Editor). You type in a bit of code, hit “Save”, then suddenly your whole site goes white. Blank. You can’t even sign in. A lot of people think this means their blog is GONE… […]