diff --git a/wp-content/plugins/special-recent-posts/classes/class-widgets.php b/wp-content/plugins/special-recent-posts/classes/class-widgets.php index c6ae850..2b4d617 100644 --- a/wp-content/plugins/special-recent-posts/classes/class-widgets.php +++ b/wp-content/plugins/special-recent-posts/classes/class-widgets.php @@ -78,6 +78,8 @@ private $plugin_args; $instance["srp_exclude_option"] = trim(strip_tags(strip_shortcodes($new_instance["srp_exclude_option"]))); $instance["srp_include_option"] = trim(strip_tags(strip_shortcodes($new_instance["srp_include_option"]))); $instance["srp_widget_title"] = trim(strip_tags(strip_shortcodes($new_instance["srp_widget_title"]))); + $instance["srp_widget_before_title"] = trim($new_instance["srp_widget_before_title"]); + $instance["srp_widget_after_title"] = trim($new_instance["srp_widget_after_title"]); $instance["srp_custom_post_type_option"] = trim(strip_tags(strip_shortcodes($new_instance["srp_custom_post_type_option"]))); // Updating widget values. @@ -129,7 +131,9 @@ private $plugin_args; if ('yes' != $instance["srp_widget_title_hide_option"]) { // Print before title. - echo $before_title; + echo $before_title; + echo $instance["srp_widget_before_title"]; + // Check if SRP is displaying a category filter result and if it should use the linked category title. if ( ($instance["srp_filter_cat_option"] != '') && ($this->plugin_args["srp_category_title"] == "yes") ) { @@ -154,6 +158,7 @@ private $plugin_args; } // Print after title. + echo $instance["srp_widget_after_title"]; echo $after_title; } @@ -229,7 +234,17 @@ private $plugin_args; - +
  • + + " size="30" /> +
  • + +
  • + + " size="30" /> +
  • + +
  • diff --git a/wp-content/plugins/special-recent-posts/special-recent-posts.php b/wp-content/plugins/special-recent-posts/special-recent-posts.php index 8c26f21..ff0c34c 100644 --- a/wp-content/plugins/special-recent-posts/special-recent-posts.php +++ b/wp-content/plugins/special-recent-posts/special-recent-posts.php @@ -1,11 +1,11 @@ ****** UPGRADE TO SPECIAL RECENT POSTS PRO! ****** for a brand new plugin with more than 60+ configuration options, re-designed widget interface and new incredible features! Special Recent Posts Free is a very simple but powerful plugin/widget to display your latest posts with thumbnails. You can switch between different display modes and customize several options to suite your needs. To get started: 1) Click the "Activate" link to the left of this description, 2) Go to Special Recent Post setting page and configure the plugin, 3) Go to Widget page and drag the 'Special Recent Posts' widget onto your sidebar and configure its settings, 4) If you wish to use PHP code, use the special_recent_posts() function provided. If you prefer shortcodes, use the [srp] shortcode inside any of your posts/pages. Check the documentation or readme.txt file for further details. 5) Enjoy. +Plugin URI: +Description: Version: 1.9.4 Author: Luca Grandicelli -Author URI: http://www.lucagrandicelli.com +Author URI: License: GPLv3 or later Copyright (C) 2011 Luca Grandicelli