Plugin Directory

Changeset 1344958


Ignore:
Timestamp:
02/07/2016 03:01:12 AM (10 years ago)
Author:
trepmal
Message:

tag 1.3

Location:
mini-loops
Files:
10 added
3 edited

Legend:

Unmodified
Added
Removed
  • mini-loops/trunk/mini-loops.php

    r675566 r1344958  
    55Plugin URI: http://trepmal.com/plugins/mini-loops/
    66Description: Query posts and display them where you want
    7 Version: 1.3-dev-130302
     7Version: 1.3
    88Author: Kailey Lampert
    99Author URI: http://kaileylampert.com
    1010
    11 Copyright (C) 2011-13 Kailey Lampert
     11Copyright (C) 2011-15 Kailey Lampert
    1212
    1313This program is free software: you can redistribute it and/or modify
     
    8484    Demo of the 'miniloops_after_items_format' filter hook
    8585    Adds link to custom post type archives (where applicable)
    86    
     86
    8787    Same usage for the 'miniloops_before_items_format' filter hook
    8888*/
     
    9393    $post_type_name = $post_type_obj->labels->name;
    9494    $post_archive_url = get_post_type_archive_link( $post_type );
    95    
     95
    9696    $archive_link = "<p><a href='$post_archive_url'>More $post_type_name &raquo;</a></p>";
    9797    return $after . $archive_link;
     
    101101    Modify the query args before they are run
    102102    Can either work on all instances, or only some by checking existing args
    103    
     103
    104104    This demo changes the 'tag__in' query to 'tag__and' to limit the number of matching posts
    105105*/
  • mini-loops/trunk/readme.txt

    r976219 r1344958  
    55Requires at least: 3.5
    66Tested up to: 3.4
    7 Stable tag: 1.2
     7Stable tag: 1.3
    88License: GPLv2 or later
    99
     
    373373== Changelog ==
    374374
    375 = Version 1.3-dev =
     375= Version 1.3 =
     376* Fix: Widget warnings since 4.3
    376377* New: 'crop' parameter for the image tag
    377378* New: Allow any shortcodes in item format
  • mini-loops/trunk/widget.php

    r976219 r1344958  
    1111        $control_ops = array( 'width' => 700 );
    1212
    13         parent::WP_Widget( 'miniloops', __( 'Mini Loops', 'mini-loops' ), $widget_ops, $control_ops );
     13        WP_Widget::__construct( 'miniloops', __( 'Mini Loops', 'mini-loops' ), $widget_ops, $control_ops );
    1414    }
    1515
     
    8585            'description' => __( 'Query posts, display them.', 'mini-loops' )
    8686        );
    87         $control_ops = array(  );
    88 
    89         parent::WP_Widget( 'miniminiloops', __( 'Mini Mini Loops', 'mini-loops' ), $widget_ops, $control_ops );
     87        $control_ops = array( );
     88        WP_Widget::__construct( 'miniminiloops', __( 'Mini Mini Loops', 'mini-loops' ), $widget_ops, $control_ops );
    9089    }
    9190
Note: See TracChangeset for help on using the changeset viewer.