#954 -> Falta el enlace en el título "Music news" de la página de inicio
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@61 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
0f43496ca5
commit
9e239ee063
@ -78,6 +78,8 @@ private $plugin_args;
|
|||||||
$instance["srp_exclude_option"] = trim(strip_tags(strip_shortcodes($new_instance["srp_exclude_option"])));
|
$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_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_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"])));
|
$instance["srp_custom_post_type_option"] = trim(strip_tags(strip_shortcodes($new_instance["srp_custom_post_type_option"])));
|
||||||
|
|
||||||
// Updating widget values.
|
// Updating widget values.
|
||||||
@ -129,7 +131,9 @@ private $plugin_args;
|
|||||||
if ('yes' != $instance["srp_widget_title_hide_option"]) {
|
if ('yes' != $instance["srp_widget_title_hide_option"]) {
|
||||||
|
|
||||||
// Print before title.
|
// 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.
|
// 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") ) {
|
if ( ($instance["srp_filter_cat_option"] != '') && ($this->plugin_args["srp_category_title"] == "yes") ) {
|
||||||
@ -154,6 +158,7 @@ private $plugin_args;
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Print after title.
|
// Print after title.
|
||||||
|
echo $instance["srp_widget_after_title"];
|
||||||
echo $after_title;
|
echo $after_title;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -229,6 +234,16 @@ private $plugin_args;
|
|||||||
<label for="<?php echo $this->get_field_id('srp_widget_title_hide_option'); ?>" class="srp-widget-label-inline"><?php _e('Hide Widget Title', SRP_TRANSLATION_ID); ?></label>
|
<label for="<?php echo $this->get_field_id('srp_widget_title_hide_option'); ?>" class="srp-widget-label-inline"><?php _e('Hide Widget Title', SRP_TRANSLATION_ID); ?></label>
|
||||||
</li>
|
</li>
|
||||||
<!-- EOF Widget Title Hide Option. -->
|
<!-- EOF Widget Title Hide Option. -->
|
||||||
|
<li>
|
||||||
|
<label for="<?php echo $this->get_field_id('srp_widget_before_title'); ?>" class="srp-widget-label"><?php _e('Before Widget Title', SRP_TRANSLATION_ID); ?></label>
|
||||||
|
<input type="text" id="<?php echo $this->get_field_id('srp_widget_before_title'); ?>" name="<?php echo $this->get_field_name('srp_widget_before_title'); ?>" value="<?php echo htmlspecialchars($instance["srp_widget_before_title"], ENT_QUOTES); ?>" size="30" />
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<label for="<?php echo $this->get_field_id('srp_widget_after_title'); ?>" class="srp-widget-label"><?php _e('After Widget Title', SRP_TRANSLATION_ID); ?></label>
|
||||||
|
<input type="text" id="<?php echo $this->get_field_id('srp_widget_after_title'); ?>" name="<?php echo $this->get_field_name('srp_widget_after_title'); ?>" value="<?php echo htmlspecialchars($instance["srp_widget_after_title"], ENT_QUOTES); ?>" size="30" />
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<!-- BOF Thumbnail Option. -->
|
<!-- BOF Thumbnail Option. -->
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Plugin Name: Special Recent Posts
|
Plugin Name: Special Recent Posts
|
||||||
Plugin URI: http://www.lucagrandicelli.com/special-recent-posts-plugin-for-wordpress
|
Plugin URI:
|
||||||
Description: <a href="http://codecanyon.net/item/special-recent-posts-pro/552356?ref=LukasKaine"><strong>****** UPGRADE TO SPECIAL RECENT POSTS PRO! ******</a> for a brand new plugin with more than 60+ configuration options, re-designed widget interface and new incredible features!</strong> 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. <strong>To get started:</strong> 1) Click the "Activate" link to the left of this description, 2) Go to Special Recent Post <a href='options-general.php?page=special-recent-posts/lib/lib-admin.php'>setting page</a> 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 <code>special_recent_posts()</code> function provided. If you prefer shortcodes, use the <code>[srp]</code> shortcode inside any of your posts/pages. Check the <a href='http://wordpress.org/extend/plugins/special-recent-posts/installation/'>documentation</a> or readme.txt file for further details. 5) Enjoy.
|
Description:
|
||||||
Version: 1.9.4
|
Version: 1.9.4
|
||||||
Author: Luca Grandicelli
|
Author: Luca Grandicelli
|
||||||
Author URI: http://www.lucagrandicelli.com
|
Author URI:
|
||||||
License: GPLv3 or later
|
License: GPLv3 or later
|
||||||
|
|
||||||
Copyright (C) 2011 Luca Grandicelli
|
Copyright (C) 2011 Luca Grandicelli
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user