Category: WordPress
-
Store Just WordPress Transients Persistently
WordPress comes with an option of keeping cache in a persistent storage, if provided. It provides a great deal of performance since everything that WordPress was doing repeatedly on each page request now can be saved in the persistent cache storage (APC / Memcached / Redis) and retrieve easily & very fastly without doing much…
-
Override WP-CLI commands
If you already don’t know about WP-CLI, its a pretty great tool to manage a WordPress install via terminal commands. This essentially gives you a lot of power enabling you to interact with the WordPress install just by commands and not having to interact with UI at all. Read more at [WP-CLI’s homepage](http://wp-cli.org/). It can…
-
Filtering transient expiration time in WordPress
As of now WordPress, doesn’t offer a filter to control the expiration of the transient while its being set, so I quickly wanted to share a quick snippet I found on Trac, written by Andrew Nacin. Here is the snippet: Basically, `’set_transient_’ . $transient` hook is fired once the transient gets saved, so it saves…
-
How to use a single image on Facebook when your website is shared
Ideally, you would want to use context specific images to be shown on Facebook whenever any page of your WordPress website is shared on Facebook, but if for some reason you want only a single image to be shown irrespective of the context, that can be configured using my plugin – [Facebook Like Thumbnail](http://wordpress.org/plugins/facebook-like-thumbnail/) though…
-
WordPress plugin to email commentators of posts
The need to email came up when I wanted to notify commentators of my previous announcement posts regarding my plugin – [Facebook Like Thumbnail](http://blog.ashfame.com/2014/04/updated-facebook-thumbnail-wordpress-plugin-released/), about its new version which is a rewrite and has lot of goodness in it. I looked it up, and I found a plugin by Yoast, which just adds all the…
-
Updated Facebook Like Thumbnail WordPress plugin (v0.3.1) released
I just pushed out the latest version of my plugin [Facebook Like Thumbnail](http://wordpress.org/plugins/facebook-like-thumbnail/), `v0.3.1` to be precise, on WordPress.org plugins repo. It should show up in your WordPress admin shortly if you are using it and if not, then here is yet another reason to try the plugin out if random or unwanted images show…
-
Get WordPress images from a different site
Developers usually work on their local installs before pushing any changes to the live or production server and that’s how a developer’s workflow should be. In order to setup a local or dev install on which a developer can work or test, they need to pull down the codebase and database dump to exactly mirror…