If you need to display specific post, not list of last posts, top ranked posts, category posts, etc but only the one that you configure in the backend.
Picker plugin is in many of its features, such as, applying filters and action, managing template, etc moreover, plugin is based on WordPress Transient API for caching issue..
With few lines of code, you can create your template override the plugin look&feel thanks to complete access to all widget item data throw Picker classes..
You can use Picker plugin like all WordPress plugins, dragging the widget to sidebar you can enable Picker widget.
Picker plugin provide template that show linked title, the image of the post and the post excerpt.
In the following example, adding the function to your functions php theme file, we telling to Picker plugin to search template files inside a templates in your theme root. function modify picker template path { return 'templates } add filter.
In the following example, adding the function to your functions php theme file, we telling to Picker plugin to call your function before return to template the item post title value. function modify picker post title { return 'my prefix $value } add filter.
In addition to $picker item global variable, you can use custom variables values, such as get custom url the provided alternative post URL get custom title the provided alternative post title get custom excerpt the provided alternative post excerpt get widget sidebar.
First of all, Picker plugin look for cached object into Transient cache, if found it, gets data, prepares HTML and provides it to frontend..
If data isn't Transient cache, Picker plugin go on with widget date and status validation, then, after looked up post into database, create Picker item object that contains all the widget post data, and in the end like cached object prepares HTML and provides it to frontend..
Read more