WordPress
Integrating WP in external PHP pages
I have several external pages that use the WP theme engine to wrap the content. I use the method found here, which worked great under WordPress 2.9.2. After upgrading to WP 3.0, these pages no longer worked as expected but instead generated 404s; it turns out the fix is rather simple.
WordPress Can Guide Missiles?
This is just so funny!
http://www.viper007bond.com/2010/06/12/so-apparently-wordpress-can-guide-missiles/
WordPress and duplicate sites in stats plugin
I use the WordPress.com Stats plugin on my blog. It is great for generating basic traffic statistics. When I upgraded my WordPress version to 2.6, something happened during the process to create a duplicate site in my stats drop down. The biggest problem is that all my old stats are associated with the original site, while all my new stats (from 7/15/2008 forward) are being pushed into the new site. (more…)
Running a WordPress blog in site root using IIS
Up until recently, I had never been able to setup a WordPress blog as the root of a web site under IIS. But I have discovered the secret and have recently changed my own site so that my content no longer shows up under a “/wordpress” directory but instead in the root.
(more…)
WordPress 2.5 file uploader and IE7
So, you just upgraded your WordPress blog to 2.5 and you excitedly go to the admin screen to check out the new vaunted multi-file upload with progress bar. You click on the Write tab then click on any of the “Add Media” icons. The screen dims a bit then you are presented with … not the super-sexy, swfupload-based multi-file uploader but instead a dull, a simple, single file upload form and a script error. Why? It’s because you are running IE7. Fortunately, there is a pretty easy fix (that appears to be planned for 2.5.1) There are just two commas that need to be deleted, in two different files.
The first fix is in the file wp-admin/includes/media.php … down at line 817, delete the comma …
Change this:
-
debug: false,
To this:
-
debug: false
The next file to edit is wp-includes/js/swfupload/handlers.js … down at line 99, delete the comma right after the number 36 …
Change this:
-
.animate({minHeight:0,height:36,}, 400, null, function(){jQuery(this).children('.describe').remove()})
To this:
-
.animate({minHeight:0,height:36}, 400, null, function(){jQuery(this).children('.describe').remove()})
That’s it! The fancy multi-uploader now works in Internet Explorer 7!
Daylight saving time and WordPress XMLRPC
Zempt is a desktop blogging client and writing tool that is especially useful for those that have multiple blogs. It enables you to write, edit and spell check new blog posts as well as edit previous blog entries by downloading, editing and reposting them. Having been involved with the Zempt project for five years (and being the only developer for the last two or three) I am pretty familiar with some of the issues that can come up with remote editing of blog posts.
(more…)
WordPress, IIS, timezone auto updating!
Most folks running WordPress use some flavor of Unix/Linux and Apache. If you are like me and run WordPress on IIS, it can be frustrating at times because you tend to feel a bit like a stepchild. There are several cool plugins for WP out there, but many just don’t run on Windows, at least not without heavy modifications.
(more…)
Upgraded to 2.1, Zempt works swell
I finally updated my blog to WordPress 2.1 and Zempt works just swell. I thought I might have more problems than I actually have had. One thing about the 2.1 out of the box, though, is that WordPress returns invalid XMLRPC response to edit an existing entry. The problem was that WordPress was returning the categoryId as an <int> instead of a <string> as the XMLRPC spec says. This would make Zempt crash. Fortunately, someone committed a patch to the WordPress Trac which fixes it perfectly.