WordPress.org

Plugin Directory

Changeset 606346


Ignore:
Timestamp:
10/01/12 02:05:50 (19 months ago)
Author:
trepmal
Message:

bug fixes

Location:
mini-loops/trunk
Files:
3 edited

Legend:

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

    r537586 r606346  
    4141            </label> 
    4242        </p> 
    43         <p> 
    4443        <p style="width:48%;float:left;"> 
    4544            <label for="<?php echo $this->get_field_id('post_type'); ?>"><?php _e('Post Type:', 'mini-loops' );?> 
     
    154153            </label> 
    155154        </p> 
     155        <p> 
    156156            <label for="<?php echo $this->get_field_id('tax'); ?>"><?php _e('Custom Taxonomies:', 'mini-loops');?> 
    157157                <input class="widefat" id="<?php echo $this->get_field_id('tax'); ?>" name="<?php echo $this->get_field_name('tax'); ?>" type="text" value="<?php echo $tax; ?>" /><br /> 
  • mini-loops/trunk/helpers.php

    r596056 r606346  
    167167    //return '<pre>'. print_r( $miniloop, true ) .'</pre>'; 
    168168 
     169    //begin building the list 
     170    $postlist = ''; 
    169171    if ( $miniloop->have_posts() ) : $miniloop->the_post(); 
    170         //begin building the list 
    171         $postlist = ''; 
    172172 
    173173        $before_items = do_shortcode( miniloops_shortcoder( stripslashes( $before_items ) ) ); 
     
    480480    ), $atts ) ); 
    481481 
    482     $post_type_obj = get_post_type_object( get_post_type() ); 
    483     $post_type_name = $post_type_obj->labels->$label; 
     482    $post_type_obj = get_post_type_object( get_post_type() ); 
     483    $post_type_name = $post_type_obj->labels->$label; 
    484484    //return '<pre>'. print_r( $post_type_obj->labels, true ) .'</pre>'; 
    485485    return $post_type_name; 
  • mini-loops/trunk/mini-loops.php

    r596056 r606346  
    44Plugin URI: http://trepmal.com/plugins/mini-loops/ 
    55Description: Query posts and display them where you want 
    6 Version: 1.1.2 
     6Version: 1.1.3-dev 
    77Author: Kailey Lampert 
    88Author URI: http://kaileylampert.com 
Note: See TracChangeset for help on using the changeset viewer.