Display single post from url on sidebar widget.
Display single post from url on sidebar widget.
This plugin maintained on GitHub.
Filter for default template.
<?php
add_filter("single-post-widget-template", "my_template");
function my_template($template) {
return '<div class="%class%"><a href="%post_url%">%post_thumb%</a></div>';
}
?>
Filter for stylesheet URI.
<?php
add_filter("single-post-widget-stylesheet", "my_style");
function my_style($url) {
return 'http://example.com/path/to/style.css';
}
?>
Please contact to me.
Requires: 3.2 or higher
Compatible up to: 3.5.1
Last Updated: 2013-2-2
Downloads: 1,824
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?