Call to undefined method WP_Query::is_main_query()

I recently got this error when installing a new theme to WordPress. Nothing loaded and I was upset because it was a theme I wanted to use. Call to undefined method WP_Query::is_main_query() Don’t panic if you see this error. In my case, all I had to do was upgrade WordPress to the most recent version. After the upgrade everything was fine!

Read More

Is Your Website Mobile Ready?

Is Your Website Mobile Ready?

Cell phone usage is huge in today’s world.  Whether it’s actual mobile usage while on a train or on the road, or it’s just someone sitting on their couch, the use of cell phones to access the internet is increasingly becoming popular.  Personally I hate using my cell phone for browsing, but that could be because the sites I’m trying to access aren’t mobile friendly yet.  I get frustrated with the speed, which...

Read More

Free Online url encoder-decoder tool

Free Online url encoder-decoder tool

This is a free online tool to convert a string into a string that can be put into an argument in a URL.   It encodes or decodes the values that may mess up a URL like spaces, commas, etc.  Decoding will turn the escape characters back into their normal form. Simply put your text into the first textbox and click encode or decode, and the converted text will appear in the bottom textbox. Place your string below:     Your converted...

Read More

Apache Password protecting a Directory

Password protecting a directory in Apache means that a username/password prompt will appear if someone trys to access any of the files in that directory, or that directory itself. They don’t have to do it every time they load a new page, if you for instance have an application in the directory, as it creates a session and saves the fact they authenticated themselves. To set this up, add the following into your apache site. Most likely it...

Read More

Apache Redirect to Secure Link

If you have a directory that you want to force users into an SSL connection, the easiest way is to use a .htaccess file if your host allows it. The following will force any page to redirect to https:// if they aren’t on it already. RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} If you want to exclude a directory or filename specifically, then just add in another rewrite condition as shown...

Read More

Online Color Picker

I thought I’d highlight a great online tool for choosing colors. www.colorpicker.com The tool gives you lots of features: Hex Code for CSS RGG & more codes Saved color list Automatic color scheme calculations

Read More