You want to remove some callback hook in WordPress. You keep trying, but it’s not working. Argh, why isn’t it working? Did you know that timing is important? There are two (2) common timing mistakes when removing (or attempt to remove) a WordPress callback hook. Let’s explore these timing mistakes and then give you some strategies to master the remove process every single time.
A Collection of Insights, Tips, Tricks, & Lessons Learned
A collection of stories, insights, tips, tricks, and lessons learned to help you develop the way you think about solving problems through code and technology.
Hooking into WordPress: What the Heck is a Hook?
Actions. Filters. Events. Hooks. You read about these terms all the time in tutorials and codex. You see code snippets with add_action, add_filter, and apply_filters. What the heck is a hook? What does it do? And why should you care about learning the event management system in WordPress? Stop pulling your hair out and give me a few minutes of your time to explain it in layman’s terms.
Get Familiar with WordPress Posts Database Table
Have you ever opened up your database? Have you poked around in there to understand the layout and different buckets of content and information? In today’s quick tip, you’ll look at the wp_posts database table. You’ll learn about basic database terminology, such as record, row, primary key, and columns. You’ll see how the columns within a record relate to the content you see in the WordPress back-end.
Yoda Conditions: To Yoda or Not to Yoda
Tonya explains the Yoda conditions programming style. She discusses its intent and the problem it seeks to solve. A handy guide and litmus test are included to help you decide when to use it in your programs. Both PHP and JavaScript examples are provided to test your knowledge.
How to Disable Post Title Link in Genesis – in One Line of Code
In today’s quick tip, I’ll show you how you how to disable the default behavior of making the post title linkable (clickable) in Genesis. And you’ll do it in just one line of code. You’ll also see some helper utility functions available to make your job easier…right out of WordPress core.
My 4 Steps to Problem Solving
Bugs are going to happen even to the best developer. That unexpected behavior is just part of this profession. But what sets you apart and defines you is your ability to problem solve. It’s about finding the root cause, that thing or things which are at the center of the problem, and then properly resolving it. In this daily tip, let me share with you my four (4) steps to problem solving. These steps are the same no matter if you are on the hunt for a minor issue to some intermittent, pain in the backside, wonky problem.
How to move from copy/paste to build anything in code
I’m often asked where you should start. How can you move from copy/paste to being able to build anything in code? You want to build your new skills incrementally, step-by-step. Each time you copy and paste a snippet of code, stop and dissect it. Go through the individual instructions. Look them up. Take the opportunity explore the code you are putting into your project.
Designer vs. Front-End Developer – Exploring the Differences
A designer creates a complete visual branding and online presence for a client, including websites, logos, print and online media, advertising, swag, and more. The designs flow through all different types of mediums to create a consistent branding and visual package.
Developer’s Guide to Customizing Genesis – The Series
To help you maximize the power of this framework, we are building a multi-part Lab series titled: Developer’s Guide to Customizing Genesis. It focuses on you, the developer. You will explore the framework’s codebase and learn how you can tap into the component architecture to get your stuff done.
Quality Code Tip: Views are for HTML – Not Your Business Logic
In today’s quality code tip, you will learn about removing the HTML from your business logic and putting it into a view file. In programming, you want to separate out your code by its intent and purpose. Let’s discuss the what, how, and why of view files. (Side note: I’m showing you the actual code on this website which is powered by Genesis.