How do I modify the position of a plugin?

It’s always bad practise to modify a plugin file. For one thing you will lose your changes when the plugin is updated. Look to see if your plugin has been created with filters (good plugins should be). Search within your plugin for “apply_filters(” – With luck you will find this near the positional code. It … Read more

Changing labels of status filters for post grid

Here’s an untested way to override it, based on my older answer: add_action( ‘init’, function() { $vars = get_object_vars( get_post_status_object( ‘draft’ ) ); $vars[‘label_count’] = _n_noop( ‘Disabled <span class=”count”>(%s)</span>’, ‘Disabled <span class=”count”>(%s)</span>’, ‘wpse-domain’ ); register_post_status( ‘draft’, $vars ); }, 1 ); We use the priority 1, since the default draft status is registered at priority … Read more

Plugin upgrade issue

How to clear the “Briefly unavailable for scheduled maintenance” message after doing automatic upgrade? As part of the automatic upgrade WordPress places a file named .maintenance in the blog base folder (folder that contains the wp-admin folder). If that file exists, then vistors will see the message Briefly unavailable for scheduled maintenance. Check back in … Read more

An issue with SEO Ultimate

Check the referring URL and the user agent. Usually these are caused by robots that found a link to the draft or happened to be scanning your site while you were previewing the posts. I wouldn’t worry about it unless it was an actual user that was getting the error.

How can I add Expire headers to images?

This can be done with Apache configuration, I have used this snippet in the past in .htaccess: ExpiresActive On ExpiresByType image/gif “access plus 1 month” ExpiresByType image/png “access plus 1 month” ExpiresByType image/jpeg “access plus 1 month” Can be set up with plugin as well. W3 Total Cache (which I currently use) can do that … Read more

Plugin to host auctions on your site

@solomongaby Please take the time to read the documentation for a plug-in before discounting it as useful. From the WP Auction documentation: How do I place an Auction in a Post/Page? First, you need to add your auction. Set the “Show auction in AJAX Popup?:” to No and enter the URL of your Post or … Read more

problems with wordpress and php version 5.3.3-1

The latest and greatest php version is always the recommended version. Seriously. All core devs use it when developing trunk. Only a few bother to test older php versions, as can be seen by the occasional ticket opened related to php4 or php5.x incompatibility. The same cannot be said by plugin authors, however… As you … Read more