I read and post a lot of helpful links to articles that can make or break your WordPress Website. What most people do not realize is that a lot of tutorials are cleverly written to attract a certain breed of people to help solve an issue. It’s really smart if you think about it.
People like to be right. They also like to get the last word in. So when you allow comments on your posts or pages, you are allowing people to do so. You are also getting more help then you imagined. Granted, if you are posting about your life, or things that might only matter to you, this blog post does not apply. I am talking about tutorials and WordPress related snippets. I read this pretty popular blog every day and learn something new all the time. Someday’s I’ll break out the localhost and start a new site just to see how things work to a plain theme like twenty twelve.
Well the other day I was learning how to compress with gzip. If you do not know what this does, allow me to give you a short run down. Gzip takes your sites files, images and everything in between and zips it up. Then when your users (readers) request a page on your site, their browser has to ask your server to get the page, and display it to the browser window. Your browser also asks the server to return with a zipped copy if it is possible. This makes it very easy for the browser to load the content with in milliseconds, so your users can move at a faster pace. Well to do that there is a specific method to that madness. I am not going to post about how to do it, you can read about it here. What I will talk about is the fact that after I read that tutorial, some of the code did not work. After I fiddled around with the code for a few half hours, I went back to the tutorial thinking that I might have missed something. I checked out the snippet that I copied and it matched word for word, character for character.
Ok so then what is missing? Wait, maybe there is an invalid line of code or character forcing the code to not work. But how do you verify this information with out bugging someone, like John Hawkins, 13 times a day. Well one option is to actually learn the language that you are working with. The second option is to scroll down to the comments and read what people have to say. It turns out that there was a piece of code that had two characters switched up. So after trying the suggested code from the person who left the comment, I found that it worked with out ease.
Reading the comments of a blog post is the equivalent to reading the articles in a adult magazine that we all know about. It does come in handy though, I must say. The comments I mean, not the articles in the zine.