Plugin Directory

Changeset 744585


Ignore:
Timestamp:
07/22/2013 08:28:53 PM (13 years ago)
Author:
iluminatus
Message:

Removing debugging JavaScript code and added new logo

Location:
single-latest-posts-lite/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • single-latest-posts-lite/trunk/core/classes/single-latest-posts-widget.php

    r727372 r744585  
    22/*
    33 * Single Latest Posts Lite Widget
    4  * Version 1.3
     4 * Version 1.4.1
    55 * Author L'Elite
    66 * Author URI http://laelite.info/
     
    1010 * Copyright 2007 - 2013 L'Elite de José SAYAGO ([email protected])
    1111 * 'SLPosts Lite', 'SLPosts Pro', 'NLPosts' are unregistered trademarks of L'Elite,
    12  * and cannot be re-used in conjuction with the GPL v2 usage of this software
     12 * and cannot be re-used in conjunction with the GPL v2 usage of this software
    1313 * under the license terms of the GPL v2 without permission.
    1414 *
     
    4646        'excerpt_trail'    => 'text',        // Excerpt's trailing element: text, image
    4747        'full_meta'        => FALSE,         // Display full metadata
     48        'footer_meta'      => FALSE,         // Display footer metadata
    4849        /*
    4950         * Pagination & Sorting
     
    149150        $instance['auto_excerpt']     = strip_tags($new_instance['auto_excerpt']);
    150151        $instance['full_meta']        = strip_tags($new_instance['full_meta']);
     152        $instance['footer_meta']      = strip_tags($new_instance['footer_meta']);
    151153        $instance['post_status']      = strip_tags($new_instance['post_status']);
    152154        $instance['excerpt_trail']    = strip_tags($new_instance['excerpt_trail']);
     
    315317                $widget_form.= $br;
    316318
     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
    317334            $widget_form.= "</div>";
    318335
  • single-latest-posts-lite/trunk/readme.txt

    r727372 r744585  
    55Requires at least: 3.0
    66Tested up to: 3.5.1
    7 Stable tag: 1.3
     7Stable tag: 1.4.1
    88
    99This plugin allows you to pull all the recent posts from your WordPress blog and display them the way you want
     
    4343          excerpt_trail=text
    4444          full_meta=FALSE
     45          footer_meta=FALSE
    4546          display_comments=FALSE
    4647          post_status=publish
     
    6869* @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
    6970* @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
    7072* @display_comments   : Display comments count, full_meta must be active in order for this parameter to work (true to activate, false by default)
    7173* @post_status        : Specify the status of the posts you want to display: publish, new, pending, draft, auto-draft, future, private, inherit, trash
     
    7779
    7880== 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
    7987
    8088= 1.3 =
  • single-latest-posts-lite/trunk/single-latest-posts-config.php

    r727372 r744585  
    22/**
    33 * Single Latest Posts Lite Configuration
    4  * Version: 1.3
     4 * Version: 1.4
    55 * Author: L'Elite
    66 * Author URI: http://laelite.info/
     
    1010 * Copyright 2007 - 2013 L'Elite de José SAYAGO ([email protected])
    1111 * 'SLPosts Lite', 'SLPosts Pro', 'NLPosts' are unregistered trademarks of L'Elite,
    12  * and cannot be re-used in conjuction with the GPL v2 usage of this software
     12 * and cannot be re-used in conjunction with the GPL v2 usage of this software
    1313 * under the license terms of the GPL v2 without permission.
    1414 *
     
    2121define( 'SLPosts_Root', $slp_root, true );
    2222// Current Version
    23 define( 'SLPosts_Version', '1.3', true );
     23define( 'SLPosts_Version', '1.4.1', true );
    2424// Classes
    2525require_once dirname( __FILE__ ) . '/core/classes/single-latest-posts-widget.php';
  • single-latest-posts-lite/trunk/single-latest-posts.php

    r727372 r744585  
    44Plugin URI: http://wordpress.org/extend/plugins/single-latest-posts-lite/
    55Description: Display the latest posts available in your WordPress blog using functions, shortcodes or widgets.
    6 Version: 1.3
     6Version: 1.4.1
    77Author: L'Elite
    88Author URI: http://laelite.info/
    99License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html
    1010*/
    11 /***********************
    12 
    13 ++++++ TERMINAR DE INTEGRAR EL FOOTER_META PARA SACAR (FALTAN WIDGET Y TINYMCE OPCIONES)
    14 ++++++ VERSION 1.2.6
    15 
    16 ************************/
    1711/**
    1812 *
    1913 * Copyright 2007 - 2013 L'Elite de José SAYAGO ([email protected])
    2014 * 'SLPosts Lite', 'SLPosts Pro', 'NLPosts' are unregistered trademarks of L'Elite,
    21  * and cannot be re-used in conjuction with the GPL v2 usage of this software
     15 * and cannot be re-used in conjunction with the GPL v2 usage of this software
    2216 * under the license terms of the GPL v2 without permission.
    2317 *
     
    5145 * -- @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
    5246 * -- @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
    5348 * -- @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
    5449 * -- @post_status        : Specify the status of the posts you want to display: publish, new, pending, draft, auto-draft, future, private, inherit, trash
     
    498493            $total += 1;
    499494        }
    500         echo "<script>console.log('".count($pages)."')</script>";
    501495        // Open pagination wrapper
    502496        echo $html_tags['pagination_o'];
Note: See TracChangeset for help on using the changeset viewer.