How to Remove a Hook from a Class-based WordPress Plugin

Class Object Oriented PHP

Are you trying to modify the functionality of a 3rd party plugin without actually editing the code of their plugin (which would result in losing your customization upon the next update)?  Having trouble with it because that plugin is object oriented or class-based?

I have run into this situation multiple times, and finally found a really good fix for it.

In this post, I’ll show you how to remove an action or filter hook from another plugin even though that plugin is class-based. Continue reading How to Remove a Hook from a Class-based WordPress Plugin

How to Get in WordPress if You’re Locked Out

1555b7780f05b38a6937204bb4e42a48cbd8fdc0.jpeg

For whatever reason, you’ve found yourself locked out of your own site.  Without a user attached to your email address, you can’t even use the Forgot Password feature to get in.  But, you own the site, so surely there must be some way to get in.

Good news, there is!  Better news, it’s easy!

In this post, I’ll show you how to quickly gain access to your WordPress admin area by having access to either the files or the database. Continue reading How to Get in WordPress if You’re Locked Out

How to Update an ACF Field Name Without Losing the Data

Advanced Custom Fields (ACF)

Are you using ACF (Advanced Custom Fields) and have the need to change the field name, but then you discover that it makes all the data disappear?

Since ACF uses the field name as the meta key to save and retrieve data, it makes it seem impossible to change.  You may consider changing only the label and leaving the field name alone.

However, in some cases, changing the name is needed.  If you’re in that boat, I’ve got good news.  It is possible to migrate all your post meta data to the new meta key.

In this post, I’ll show you exactly how to run a couple SQL statements on your database to migrate all the post meta data from the old key to the new key. Continue reading How to Update an ACF Field Name Without Losing the Data

How to Start a Blog and Make Money in 2022 (Mine Made $15,000/month)

emma-matthews-973230-unsplash

Have you been thinking about making a little extra money by blogging?  Or, maybe you’ve been dreaming about what life would be like if you were making a living as a stay-at-home blogger?

After winning big with my first blog, I’m laying out the blueprint to my blogging success so that you can live the dream you never knew was possible.

In this guide, I will take you step by step through the process of starting a blog and making money. Continue reading How to Start a Blog and Make Money in 2022 (Mine Made $15,000/month)

How to Make a Fixed Header Align and Play Nice With the Page

Laptop with Code

Do you have a fixed header area on your website that is not playing nice with the rest of the page?  You can’t quite get the bottom of the fixed header to line up with top of the page content?

Maybe you tried manually adjusting the margin at the top of the content, but when the header height changes at different screen resolutions, what to do?

Well, there’s an easy fix that makes the margin completely dynamic and it uses jQuery.  Use this jQuery in your theme… Continue reading How to Make a Fixed Header Align and Play Nice With the Page