The combination of two Internet memes into one beautiful shirt:
WP-Syntax Code Highlighter Plugin
As a blog by and for web developers, many of the articles on DevSpot tackle some problem with HTML, JavaScript, or another markup/programming language. That means we frequently need to embed code snippets into our WordPress posts to help explain a solution. To make them easy to understand, code samples should be color coded and include line numbers for reference.
For WordPress blogs, that’s where the plugin WP-Syntax comes in. There are several to choose from (including the more powerful SyntaxHighlighter), but WP-Syntax the right combination of features and usability that we needed. It converts blocks of text wrapped with pre
tags and a lang
attribute into syntax-highlighted code. Continue reading “WP-Syntax Code Highlighter Plugin”
Draw Things from Captcha
WordPress post scheduling bug
If you schedule posts for future publication in your WordPress blogs, don’t just Set It and Forget It but remember to check frequently to confirm your posts actually go live. You could have posts still sitting in limbo that you thought had been published out days or weeks ago.
Various server configurations or temporary issues can apparently cause a scheduled post not to go out on time. When you look at your list of posts the status Missed schedule shows up in the date column (see the graphic at right) and once it’s scheduled time has past WordPress will not try again to publish that post. In order to publish the post you have to go in and very frustratingly switch the post status back to draft, change the time of the post, then and try to republish to get it onto the site.
We’re running WordPress 2.7 but it still appears to affect some sites running the current 2.8.1 version. Other than manual workaround mentioned above, there are a few other “fixes” you can try to solve the problem until a fix is in the official WordPress builds.
Please note the following workarounds have not been tested by MarketNet, use at your own risk:
- Modify the file wp-cron.php
- Replace wp-cron.php with a version from WP 2.6.5
- Install the Scheduled MIAs plugin
Until the issue is fixed, don’t forget to occasionally check your post lists for unpublished posts.