PC Doctor Godalming

Dedicated to Fixing Computers of all Shapes and Sizes
01483 424378
07876 476990

Category: Wordpress

Wordpress web site builder and CMS

Updraftplus plugin can’t read .directory file warnings

Unfortunately its not possible to exclude special Dolphin .directory files using Updraftplus settings. It ignores the setting exclusion and continues to report “…can’t read .directory” file warnings in the log file during backup.

To work around this add the following PHP code to your Functions file

//
// Updraftplus Backup filter
// Prevent attempts to backup .directory files and generate annoying warnings 
add_filter('updraftplus_exclude_file', 'my_updraftplus_exclude_file', 10, 2);
function my_updraftplus_exclude_file($filter, $file) {
return (basename($file) == '.directory') ? true : $filter;
}

Continue Reading

WordPress Paste Snapshot Images Work-around

I have tried various image paste WordPress Plugins but always come across some drawback or other. Imagepaste works well but puts the image in  wp-content\uploads with an unrecognisable  random file name and does not add the name to the Media library. Image-elevator looks good but forces you to use the premium (paid for)  version to get any real value out of it.

However I have discovered a work-around in Kubuntu using the fantastic KSnapshot screen capture program. This allows you to drag and drop the snapshot image directly into WordPress.

Continue Reading