Changeset 744585
- Timestamp:
- 07/22/2013 08:28:53 PM (13 years ago)
- Location:
- single-latest-posts-lite/trunk
- Files:
-
- 6 edited
-
core/classes/single-latest-posts-widget.php (modified) (5 diffs)
-
core/img/slposts_icon.png (modified) (previous)
-
core/js/slposts_button.png (modified) (previous)
-
readme.txt (modified) (4 diffs)
-
single-latest-posts-config.php (modified) (3 diffs)
-
single-latest-posts.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
single-latest-posts-lite/trunk/core/classes/single-latest-posts-widget.php
r727372 r744585 2 2 /* 3 3 * Single Latest Posts Lite Widget 4 * Version 1. 34 * Version 1.4.1 5 5 * Author L'Elite 6 6 * Author URI http://laelite.info/ … … 10 10 * Copyright 2007 - 2013 L'Elite de José SAYAGO ([email protected]) 11 11 * 'SLPosts Lite', 'SLPosts Pro', 'NLPosts' are unregistered trademarks of L'Elite, 12 * and cannot be re-used in conju ction with the GPL v2 usage of this software12 * and cannot be re-used in conjunction with the GPL v2 usage of this software 13 13 * under the license terms of the GPL v2 without permission. 14 14 * … … 46 46 'excerpt_trail' => 'text', // Excerpt's trailing element: text, image 47 47 'full_meta' => FALSE, // Display full metadata 48 'footer_meta' => FALSE, // Display footer metadata 48 49 /* 49 50 * Pagination & Sorting … … 149 150 $instance['auto_excerpt'] = strip_tags($new_instance['auto_excerpt']); 150 151 $instance['full_meta'] = strip_tags($new_instance['full_meta']); 152 $instance['footer_meta'] = strip_tags($new_instance['footer_meta']); 151 153 $instance['post_status'] = strip_tags($new_instance['post_status']); 152 154 $instance['excerpt_trail'] = strip_tags($new_instance['excerpt_trail']); … … 315 317 $widget_form.= $br; 316 318 319 // ---- Footer Meta 320 $widget_form.= $br; 321 $widget_form.= "<label for='".$this->get_field_id('footer_meta')."'>" . __('Footer Metadata','trans-slp') . "</label>"; 322 $widget_form.= $br; 323 $widget_form.= "<select id='".$this->get_field_id('footer_meta')."' name='".$this->get_field_name('footer_meta')."'>"; 324 if( $footer_meta == 'true' ) { 325 $widget_form.= "<option value='true' selected='selected'>" . __('Yes','trans-slp') . "</option>"; 326 $widget_form.= "<option value='false'>" . __('No','trans-slp') . "</option>"; 327 } else { 328 $widget_form.= "<option value='true'>" . __('Yes','trans-slp') . "</option>"; 329 $widget_form.= "<option value='false' selected='selected'>" . __('No','trans-slp') . "</option>"; 330 } 331 $widget_form.= "</select>"; 332 $widget_form.= $br; 333 317 334 $widget_form.= "</div>"; 318 335 -
single-latest-posts-lite/trunk/readme.txt
r727372 r744585 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5.1 7 Stable tag: 1. 37 Stable tag: 1.4.1 8 8 9 9 This plugin allows you to pull all the recent posts from your WordPress blog and display them the way you want … … 43 43 excerpt_trail=text 44 44 full_meta=FALSE 45 footer_meta=FALSE 45 46 display_comments=FALSE 46 47 post_status=publish … … 68 69 * @excerpt_trail : Set the type of trail you want to append to the excerpts: text, image. The text will be _more_, the image is inside the plugin's img directory and it's called excerpt_trail.png 69 70 * @full_meta : Display the date and the author of the post, for the date/time each blog time format will be used 71 * @footer_meta : Display footer metadata 70 72 * @display_comments : Display comments count, full_meta must be active in order for this parameter to work (true to activate, false by default) 71 73 * @post_status : Specify the status of the posts you want to display: publish, new, pending, draft, auto-draft, future, private, inherit, trash … … 77 79 78 80 == Changelog == 81 82 = 1.4.1 = 83 * Minor bug fix: removed debugging JavaScript code. 84 85 = 1.4 = 86 * Improvement: Added footer_meta parameter which allows to show/hide footer metadata 79 87 80 88 = 1.3 = -
single-latest-posts-lite/trunk/single-latest-posts-config.php
r727372 r744585 2 2 /** 3 3 * Single Latest Posts Lite Configuration 4 * Version: 1. 34 * Version: 1.4 5 5 * Author: L'Elite 6 6 * Author URI: http://laelite.info/ … … 10 10 * Copyright 2007 - 2013 L'Elite de José SAYAGO ([email protected]) 11 11 * 'SLPosts Lite', 'SLPosts Pro', 'NLPosts' are unregistered trademarks of L'Elite, 12 * and cannot be re-used in conju ction with the GPL v2 usage of this software12 * and cannot be re-used in conjunction with the GPL v2 usage of this software 13 13 * under the license terms of the GPL v2 without permission. 14 14 * … … 21 21 define( 'SLPosts_Root', $slp_root, true ); 22 22 // Current Version 23 define( 'SLPosts_Version', '1. 3', true );23 define( 'SLPosts_Version', '1.4.1', true ); 24 24 // Classes 25 25 require_once dirname( __FILE__ ) . '/core/classes/single-latest-posts-widget.php'; -
single-latest-posts-lite/trunk/single-latest-posts.php
r727372 r744585 4 4 Plugin URI: http://wordpress.org/extend/plugins/single-latest-posts-lite/ 5 5 Description: Display the latest posts available in your WordPress blog using functions, shortcodes or widgets. 6 Version: 1. 36 Version: 1.4.1 7 7 Author: L'Elite 8 8 Author URI: http://laelite.info/ 9 9 License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html 10 10 */ 11 /***********************12 13 ++++++ TERMINAR DE INTEGRAR EL FOOTER_META PARA SACAR (FALTAN WIDGET Y TINYMCE OPCIONES)14 ++++++ VERSION 1.2.615 16 ************************/17 11 /** 18 12 * 19 13 * Copyright 2007 - 2013 L'Elite de José SAYAGO ([email protected]) 20 14 * 'SLPosts Lite', 'SLPosts Pro', 'NLPosts' are unregistered trademarks of L'Elite, 21 * and cannot be re-used in conju ction with the GPL v2 usage of this software15 * and cannot be re-used in conjunction with the GPL v2 usage of this software 22 16 * under the license terms of the GPL v2 without permission. 23 17 * … … 51 45 * -- @excerpt_trail : Set the type of trail you want to append to the excerpts: text, image. The text will be _more_, the image is inside the plugin's img directory and it's called excerpt_trail.png 52 46 * -- @full_meta : Display the date and the author of the post, for the date/time each blog time format will be used 47 * -- @footer_meta : Displays footer metadata when set to true, it depends on full_meta to be true 53 48 * -- @display_comments : Display comments count, this parameter depends on full_meta, if full_meta is not active this parameter will not show anything even if it's active, false by default 54 49 * -- @post_status : Specify the status of the posts you want to display: publish, new, pending, draft, auto-draft, future, private, inherit, trash … … 498 493 $total += 1; 499 494 } 500 echo "<script>console.log('".count($pages)."')</script>";501 495 // Open pagination wrapper 502 496 echo $html_tags['pagination_o'];
Note: See TracChangeset
for help on using the changeset viewer.