Category: Snippets

Quick Method To Disable All Plugins

If your WordPress site is having issues or you are receiving a 500 error message, a good starting point to rule out a plugin conflict… View More

Fix Cannot Serve Directory No Matching DirectoryIndex in WordPress Error Issue

If you are receiving the following No Matching DirectoryIndex error in WordPress when attempting to load, download or link assets in your uploads folder: [autoindex:error]… View More

Creating A Custom WordPress 404 Page That Searches For Matching Content

Whether you are building a new WordPress website or have recently migrated your content from another CMS, having a custom 404 error page helps keep… View More

How To Add A Class To Post Div For Specific Posts Using post_class

In WordPress, there are many scenarios where we might want to add a unique class to a post’s container div.  It can be easier to… View More

How To Customize And Add Class Or Div To WordPress Next Previous Post Links

How To Add The Default Next/Previous Links To A Post You can place next post and previous post links within your WordPress single.php with the… View More

How To Remove Space Above Header In WordPress

Mosquito2

If you are working on a WordPress theme and notice an annoying white space that appears at the top of your pages, it is most… View More

How To Create A Simple WordPress Theme From Scratch

The benefit of making your own custom WordPress theme from scratch is that you have full control over every aspect of your website, and you’ll… View More

How To Add Class Depending On Media Screen Size

On our site, we wanted to control how many columns were displayed and where the sidebar was positioned depending on the user’s screen size.   The… View More

How To Disable Post Revisions In WordPress

Post revisions are a way to restore previous versions of a post.  Revision history can be important in some aspects, especially when there may be… View More