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
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
Do you hate dealing with styling social media icons in a WordPress theme? Wish there was a seamless way to manage social links using the WordPress menu without having to use CSS classes?
This is a very interesting way to set the FontAwesome icons for social menu items automatically by selecting the elements using a wildcard href attribute search.
Continue reading Automatic Social Menu SCSS Styling with FontAwesome Icons
Are you working on a WordPress theme that uses Zurb Foundation framework? Would you like to implement your own lead / opt-in popup using Foundation’s Reveal component?
The one I built even waits until you visit a 2nd page, and on that 2nd page, it waits 10 seconds before popping up. Continue reading How to Make Your Own Opt-in Popup with Foundation Reveal Modal
Ever run into the problem where you have a string, and you need set the value of a select dropdown to that string, but the string you have may not match any of the option values, but instead might match the label of an option?
I ran into that and devised this nice solution that worked out very well. Continue reading Set the Value of a Select Dropdown Using Its Options’ Text Labels
If you’re using ACF (Advanced Custom Fields) and want a dropdown list of US states, then look no further.
Simply copy and paste this into the list of options in your ACF select field.
Continue reading List of US States for Select Dropdown Field in ACF
In order to make local WordPress development as seamless as possible with collaboration between multiple developers, I’ve devised a process where local versions of WordPress sites can dynamically use the database and media uploads from the staging server. Continue reading How to Setup a Local WordPress Development Environment using DB and Media from Staging
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
So, you want to use a shortcode, and you want to put it in a widget. You probably found out that the shortcode doesn’t process, but instead displays the shortcode text on the page. Lame, right?
Luckily there’s a really easy quick fix for this.
Simply add this code to your theme’s functions.php file Continue reading How to Enable Shortcodes in WordPress Text Widgets
I’ve made a ton of websites over the years, and somethings are done every time. Redirects in the .htaccess file is one of those things that’s always on the checklist.
Don’t worry about Googling how to do each redirect each time. Just bookmark this page. Continue reading How to Redirect to Force WWW and HTTPS Using .htaccess File