This is a code snippet I used recently for a custom WordPress theme I built for a client. The client was getting their site redesigned in part because they wanted to be found in Google, and in part because it was time for a re-branding. This specific custom post type had it’s own category taxonomy. […]
Category Archives:
WordPress
Output Taxonomies List for Custom Post Type by Post ID
Styling Radio Buttons in Gravity Forms
I knew this Gravity Forms code would come in handy sometime. Mostly, I’m writing it down for my own reference material, so I can Google it later. So, this is some code I wrote in late-2016 for a custom theme project where I had to style Gravity Forms radio buttons to have different color “bullets” […]
Add CSS Class To Single Post Based on Category In WordPress
Here’s how to add a CSS class to the body tag of a single post or post type, based on the post category, in WordPress. Why would you want to do this? Maybe you want to add custom CSS styles to single posts in specific categories, but you don’t want to create a custom template […]
Get the URL of a Featured Image in WordPress
Sometimes it is useful to get the URL of a Featured Image in WordPress, instead of just outputting the image itself as HTML. When would you use this? If you need to get the URL in order to use it for a background image, as in a header at the top of the page, for […]
Businesses Should Own Their WordPress Plugin Licenses
Today we’re discussing one specific scenario that that hurts business websites. This is when WordPress website owners don’t own the plugin licenses for their site. For those of you who don’t know what that is, many CMS like WordPress have “plugins” that extend the core site functionality. Some plugins are free, and some are paid. […]
Best Managed WordPress Hosting Companies
Managed WordPress hosting has become a hot product over the last few years. The advantages of good hosting are that your site will load faster, making your customers happy, and helping you rank higher in search engines. Many businesses start out with $10/month shared hosting, which generally sucks. Cheap shared hosting makes money for the […]
Why You Need Automated Backups of Your Website
If you run any sort of business, you already understand how important your website is to your marketing and revenue generation. Most businesses can’t afford to have their websites go down or be out of commission. Bu one of the biggest things that businesses should be doing, but aren’t doing is getting regular backups of […]
bbPress: Add Forums, Topics & Replies to Search Results
Many people who use bbPress may notice that WordPress by default doesn’t return topics, replies, or forums in search results. This can defeat the purpose of having forums on your site, if they aren’t easily searchable. This is a code snippet that will add forums, topics, and replies from bbPress to your WordPress search results. […]
What Happened To Google Analytics by Yoast?
If you had Google Analytics by Yoast installed on your WordPress website, you were probably surprised last week (mid-April 2016) to see a new icon in its place in the admin menu in the back end of your site. I know I was surprised, as were many other people, to see the name change from […]
Integrating Google AMP and WordPress
In October of 2015, Google debuted a new project called AMP, or Accelerated Mobile Pages. The project is open-source, with other companies like Adobe, Twitter, Vox Media, BBC, The Guardian, and The New York Times also contributing to this project. So what is AMP? And why does it exist? For the last few years, web […]