A brief migration announcement explaining why the site moved from WordPress to Pelican.
Disabling Wordpress
Posted on in Software
AI-enabled developer productivity, build systems, and engineering leadership
Posted on in Software
A brief migration announcement explaining why the site moved from WordPress to Pelican.
Posted on in Programming
This is was my next project.
Update: For now I've solved this problem by using FeedWordPress to pull the Atom feed for the Pelican-specific portion of the website.
Posted on in System Administration
I recently ran into an issue on a Wordpress site running behind an nginx web
server. The site was frequently being attacked by a botnet hitting /xmlrpc.php
so rapidly, it would eventually force the FastCGI processes behind nginx to
consume all available CPU. Naturally, this would cause all legitimate …
Posted on in Software
I released a new version of my Google PageRank Tool for WordPress last week. Google recently changed the URL for PageRank information which necessitated a change in the plugin. The new plugin has been tested with WordPress 3.2.1.
You can download the latest version of the plugin from …
Posted on in Software
Using WordPress to write a technical blog can be occasionally frustrating. WordPress uses the wptexturize() function to rewrite certain ASCII character combinations into HTML entities. Although this may generally be a "good thing," it's really annoying on technical blogs where two dashes is not an em dash.
To disable this …
Posted on in Software
This is the first time I've run into this problem.
In the process of disabling some slightly used plugins, slaptijack.com got into a situation where every permalink simply pulled up the home page rather than individual posts. I checked everything (mod_rewrite in my Apache configuration file, changes to .htaccess …
Posted on in Programming
Posted on in Programming
If you need to debug what queries your WordPress site is making, try adding the
following PHP to your theme:
<?php
foreach ( $wpdb->queries as $query ) {
echo "$query[0]<br />";
}
?>
For this code to work, you need to add the following line to wp-config.php:
define('SAVEQUERIES', true);
After that …
Posted on in System Administration
On one of the WordPress-based websites I maintain, I have removed the category base so that, when browsing a category the url doesn't end with /category/category-slug/. I accomplished that by putting a single '.' in the "Category base" text box of the Permalinks admin page. This worked fine until I …
Posted on in System Administration
Posted on in Programming
For the last couple of years, I've used the Tag Suggest Thing WordPress plugin to recommend tags for my posts based on the post content. Beginning with WordPress 2.5, that plugin started to have problems interacting with the WordPress administration pages. In August 2009, Yahoo! announced that they would …
Posted on in Programming
In his excellent series on WordPress Theme SEO, Nathan Rice describes a method to include META tags in WordPress themes rather than relying on plugins. Since I recently updated the Slaptijack theme to include META descriptions and keywords, I thought I would detail the process. If you are interested in …
Posted on in Programming
ProBlogger Darren Rowse recently posted a question about putting dates on blog posts. A lot of folks were interested in the idea of removing dates from older blog posts, but don't know where to start. This is a useful PHP excercise, so I decided to implement it on my personal …
Posted on in Graphics Design
I've recently begun designing my own WordPress theme. The last time I really worked with any sort of web "design" (I'm using that word rather loosely here), layout was done via tables instead of divs. Stephen at Acadian Imaging told me that in order to get my theme to work …