Changeset 1344958
- Timestamp:
- 02/07/2016 03:01:12 AM (10 years ago)
- Location:
- mini-loops
- Files:
-
- 10 added
- 3 edited
-
tags/1.3 (added)
-
tags/1.3/form.php (added)
-
tags/1.3/helpers.php (added)
-
tags/1.3/lang (added)
-
tags/1.3/lang/mini-loops-fr_FR.mo (added)
-
tags/1.3/lang/mini-loops-fr_FR.po (added)
-
tags/1.3/lang/mini-loops.pot (added)
-
tags/1.3/mini-loops.php (added)
-
tags/1.3/readme.txt (added)
-
tags/1.3/widget.php (added)
-
trunk/mini-loops.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mini-loops/trunk/mini-loops.php
r675566 r1344958 5 5 Plugin URI: http://trepmal.com/plugins/mini-loops/ 6 6 Description: Query posts and display them where you want 7 Version: 1.3 -dev-1303027 Version: 1.3 8 8 Author: Kailey Lampert 9 9 Author URI: http://kaileylampert.com 10 10 11 Copyright (C) 2011-1 3Kailey Lampert11 Copyright (C) 2011-15 Kailey Lampert 12 12 13 13 This program is free software: you can redistribute it and/or modify … … 84 84 Demo of the 'miniloops_after_items_format' filter hook 85 85 Adds link to custom post type archives (where applicable) 86 86 87 87 Same usage for the 'miniloops_before_items_format' filter hook 88 88 */ … … 93 93 $post_type_name = $post_type_obj->labels->name; 94 94 $post_archive_url = get_post_type_archive_link( $post_type ); 95 95 96 96 $archive_link = "<p><a href='$post_archive_url'>More $post_type_name »</a></p>"; 97 97 return $after . $archive_link; … … 101 101 Modify the query args before they are run 102 102 Can either work on all instances, or only some by checking existing args 103 103 104 104 This demo changes the 'tag__in' query to 'tag__and' to limit the number of matching posts 105 105 */ -
mini-loops/trunk/readme.txt
r976219 r1344958 5 5 Requires at least: 3.5 6 6 Tested up to: 3.4 7 Stable tag: 1. 27 Stable tag: 1.3 8 8 License: GPLv2 or later 9 9 … … 373 373 == Changelog == 374 374 375 = Version 1.3-dev = 375 = Version 1.3 = 376 * Fix: Widget warnings since 4.3 376 377 * New: 'crop' parameter for the image tag 377 378 * New: Allow any shortcodes in item format -
mini-loops/trunk/widget.php
r976219 r1344958 11 11 $control_ops = array( 'width' => 700 ); 12 12 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 ); 14 14 } 15 15 … … 85 85 'description' => __( 'Query posts, display them.', 'mini-loops' ) 86 86 ); 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 ); 90 89 } 91 90
Note: See TracChangeset
for help on using the changeset viewer.