Adding Prettify to Your WordPress Theme
Up until recently, I used to use a plugin to have Prettify work on my blog. However, it has changed. Today, I am going to show you how to a) enqueue scripts and stylesheets properly b) add Prettify to WordPress and c) add a shortcode to WordPress. First, if you haven’t already, you should go download Google’s Prettify from here. You will end up with a JavaScript file and a css file. Where you upload…
10 WordPress Plugins I Always Use
For almost every blog I set up, I usually install these plugins right away. Check ‘em out! All in One SEO Pack I like this a little bit more than Yoast because the options are much more straightforward and less focused on keyword stuffing. I also enjoy the simplicity of it without too many options. It gives me what I need and then that’s it. No fluff. Download Bad Behavior Awhile back, I had a…
How to Fix an Internal Server Error in WordPress
So at work, I’m working on a site that currently has over 2000 members. We recently moved servers to a dedicated server hosting plan. Everything after the most seem to be working well but then when we tried to search users inside the WordPress admin, we were getting an internal server error. So I called the hosting company. The first time, they were guessing that maybe since there’s so many users, the database was timing…
Locking Down WordPress
In all the years I’ve worked with WordPress, yesterday was the first day I saw this page: Hardening WordPress. I don’t know why I thought that because it is WordPress, it would be safe. Like, it’s WordPress. However, if I wrote a php script of my own, I would automatically think about security and permissions and all that. Most of the changes involved the .htaccess and CHMOD. All of them can be found in the…