WordPress


'optiPNG' vs 'PNGcrush' vs 'Gimp' to Reduce PNG Size

‘optiPNG’ vs ‘PNGcrush’ vs ‘Gimp’ to Reduce PNG Size

Which is better? NEITHER! optipng and pngcrush are dated tools, but they are free, and surprisingly still work. Here are some comparisons on compression levels on a PNG file vs the same file as JPG format.

WordPress Custom Template Short Code

WordPress Custom Template Short Code

If you have ever tried to configure a custom template but wanted to add a short code, then you probably used something like this…. I wanted the 404 page on Ruby Sash to list a dynamic sitemap in case someone was looking for a page that we removed or moved. However, the 404 template ...

WordPress PHP Fails After Ubuntu 18.04 Update

WordPress PHP Fails After Ubuntu 18.04 Update

After you upgrade to 18.04 using the do-release-upgrade command your php (and WordPress) might not be working. The Upgrade Procedure (16.04 to 18.04 Example) We’ll assume that you first backed up your system, took a snapshot, etc and then did your basic system updates first: Shell $ sudo apt update $ sudo apt upgrade $ sudo apt dist-upgrade 123 $ sudo apt ...

How to Delete Wordpress Revisions (Correctly)

How to Delete WordPress Revisions (Correctly)

There is an easy way to delete wordpress revisions but is it the correct way? This article explores the wordpress revision feature. Wordpress Revisions MySQL is the typical database that most servers running wordpress use. Mysql can handle 20 million records without too much of an issue. More important than the number of records are how they ...

Remove Duplicate Featured Image With CSS

Remove Duplicate Featured Image With CSS

After a few plugins that didn’t work, and an otherwise beautifully clean theme, I ended up removing the duplicate featured image from wordpress with the following CSS: