Articles in WordPress
WordPress: Post-processing of the image failed
This particular WordPress issue appeared with version 5.3 and is refusing to go away. However, the problem here is not with WordPress but with the Apache ModSecurity. The particular ModSecurity rule in question is 200003 …
Arthemia jCarousel Number of Posts
This is primarily just a note to myself on how to change the number of visible items in the jCarousel implementation for the WordPress Arthemia theme. Recently I finally updated to the current version and …
WordPress Remove Extra Line Breaks
Frequently, imported posts or posts created by auto-blogging plugins will create unnecessary tabs, newlines, and line breaks. This has a negative impact on readability and aesthetics of your site. If you cannot address the problem …
Dealing with Blank Lines in WordPress functions.php
This is an annoying little problem plaguing many WordPress themes: blank lines in the themes’ functions.php cause various random issues. The most common manifestation of this condition is the failure to save the “image” custom field. Below are a few commands to apply a quick fix. Unfortunately, these steps would need to be repeated every time you upgrade your theme, until the developers catch on. To simplify this task, I arranged the commands into a little script that will create a backup of your original functions.php and make the necessary changes.
Shadowbox JS Plugin Breaks WordPress
Just a quick alert: the latest version (v. 3.0.3.3) of the popular Shadowbox JS plugin for WordPress has a serious bug that exposes your WordPress installation to a major security risk. Incorrectly coded handling of the “player” tag causes all of your NexGEN Gallery images to be displayed on any page that also has single images embedded via WordPress “Add an Image” function.
Disabling WordPress X-FRAME-OPTIONS Support
Staring with version 3.1.3, WordPress introduced X-FRAME-OPTIONS support for the admin and login pages. This is a simple defensive measure against sneaky characters trying to encapsulate your blog within their own Web sites using iframes. So this new security was a welcome addition to WP for most users. I was not one of those users.
WordPress 3.0.4 – the Return of the Custom Field Bug
After upgrading to the latest stable WordPress version 3.0.4 I ran into an old issue I haven’t see for almost two years. Clicking “Publish” or “Save Draft” when writing a new post seems to remove some custom fields. If you re-add the custom field and click “Update”, the entry stays. But it goes away again once you use the “Save Draft” or “Publish”.
WordPress 3.0 and 3.0.1 Upgrade Bug
Ignoring my own advice to never install latest WordPress releases as soon as they come out, I upgraded my installation to WP 3.0 and shortly after to 3.0.1. Doing so broke a few things. Automatic plugin updates or installs seem to hang and so does automatic WordPress upgrade. Let me illustrate. According to this screenshot, I need to update one of the plugins.
Remove Duplicate Posts in WordPress
Below is the SQL script that will attempt to identify and remove duplicate posts in your WordPress database. This script can be useful for autoblogging. If you use plugins like WP-o-Matic to pull full-text RSS …
WordPress Backup Script
Whenever a new WordPress version comes out, I get an itch to upgrade as quickly as possible. Generally, this is not a good idea, unless you enjoy working out new software bugs and dealing with …
Web Hosting Providers and php.ini
The php.ini is the primary configuration file for the PHP – a popular scripting language used for Web development. Most Web hosting providers offer preinstalled PHP on their servers. If your search on PHP has …
Duplicating WordPress Installation
Whenever you upgrade your WordPress installation or do development work, it is always a good idea to be working on a copy of your main site and not on the real thing. Copying WordPress installation …
WordPress Directory Listing Risk
A large number of WordPress directories do not have an index file. This is particularly dangerous in case of the plugins directory. If your server allows directory listings, a potential attacker may see which plugins …
What’s the Best CMS
Content management systems are sprouting up like mushrooms after a warm April rain. If your job is to find the perfect CMS for your needs, you can spend weeks analyzing and comparing features of various …
WordPress Quick Upgrade for Linux
Never ever upgrade WordPress to the latest version as soon as it comes out, unless you want to be the guinea pig dealing with the new bugs and incompatible plugins. Even if the new version …
Creating print.css for WordPress
Many WordPress theme designers choose to cut some corners with their creations. One of the more important things they skip over is print.css – the stylesheet that controls your blog’s appearance when you print it. …
Improving WordPress Performance
WordPress is a great blogging engine and decent CMS. Unfortunately, most available WordPress themes- even those claiming to be “minimalist” – are bloated and slow to load. Heavy CSS stylesheets, multiple Java scripts, numerous graphics …
Latest Comments