I’ve started undertaking a big theme recoding project. I’m recoding all the themes in my shop. Pretty much every 6-12 months I look back on my old work and think, “I can do it better.” A lot of my themes haven’t been thoroughly updated over […]
Category: Coding
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 […]
SEO the Hell out of Your Heading Tags
Heading tags confuse people. The different heading tags (1-6) are often styled in different ways. When someone starts experimenting with their theme, they see the different styles, then associate those tags with design. When they want to use the green uppercase font, they switch to […]
The Best Way to Learn to Code: Building Websites NOW!
How can I learn to code? Where can I learn CSS? What course should I take to learn HTML? How can I learn to make a website? I see these questions a lot. My answer is always the same: Get out there, build a website, […]
The Way You’re Centering Text is Wrong
Let’s talk about something that’s so incredibly dead, and yet tons of people are still using it. <center> You might use it like this: <center>Please center this bit of text.</center> Oh my god, this little bit of code needs to die. <center> is deprecated in […]
Automatically Approve Comments in a Certain Post Category
Mohmoh submitted a question about how to approve comments that are made on a post in a specific category: I had used this code to automatically approve comments of a specific category but after the last update wordpress 4.4 this code not work: add_filter( 'pre_option_comment_moderation', […]
How to Feature One Post on Your WordPress Homepage (and show the rest as excerpts)
One of the features in Tweak Me v2 is the ability to ‘feature’ one of your posts. You can set one (or more) of the first posts on your homepage to show the full post, and have the rest all appear as excerpts. Here’s an […]
Sell WordPress Themes? You NEED This Feature for Your Customers
You know what makes me cringe? When I see an awesome pre-made theme for sale and then I see the upgrade instructions for that theme. They look something like this: Updating your theme is super easy! Just download the latest version from your client area, […]