Mini Loops

Widget for mini post loops.

Show most recent posts, posts from categories, and more. Can be displayed via widgets, shortcodes, and template tags.

Development is now happening at the GitHub Repo
Explanation of options:

Widget Display

Title: Your recent posts widget’s title on your sidebar. Default: Recent Posts
[miniloop title=”Recent Posts”]
get_miniloops( array(‘title’ => ‘Recent Posts’ ) );

Title URL: The page the title should link to. Default: none
[miniloop title_url=”/blog/”]
get_miniloops( array(‘title_url’ => ‘/blog/” ) );

Building the Query

Number of Posts: Number of posts to be displayed. Default: 3
[miniloop number_posts=3]
get_miniloops( array(‘number_posts’ => 3 ) );

Post Offset: Number of posts to skip before displaying the list. Default: 0
[miniloop post_offset=0]
get_miniloops( array(‘post_offset’ => 0 ) );

Maximum Age: Don’t show posts more than X days old Default: 0
[miniloop maximum_age=0]
get_miniloops( array(‘maximum_age’ => 0 ) );

Post Author: Get author’s post. By ID. Default: none
[miniloop post_author=0]
get_miniloops( array(‘post_author’ => 0 ) );

Post Type: Post type to display. Default: post
[miniloop post_type=post]
get_miniloops( array(‘post_type’ => ‘post’ ) );

Post Status: Post status to display. Primarily useful to show upcoming (future) posts. But be creative! Default: publish
[miniloop post_status=publish]
get_miniloops( array(‘post_status’ => ‘publish’ ) );

Order By: What order the posts should be displayed in. Default: date
[miniloop order_by=date]
get_miniloops( array(‘order_by’ => ‘date’ ) );

Order: Ascending (good for order by title) or Descending (good for order by date) Default: DESC
[miniloop order=DESC]
get_miniloops( array(‘order’ => ‘DESC’ ) );

Ordering by the values of some_key (works well if the values of some_key are strings/words):
[miniloop order_by=meta_value order_meta_key=some_key]
get_miniloops( array(‘order_by’ => ‘meta_value’, ‘order_meta_key’ => ‘some_key’ ) );

Ordering by the numeric values of some_key (works well if the values of some_key are numbers/integers):
[miniloop order_by=meta_value_num order_meta_key=some_key]
get_miniloops( array(‘order_by’ => ‘meta_value_num’, ‘order_meta_key’ => ‘some_key’ ) );

Show posts in reverse order? Perhaps you want the 3 most recent posts, but you want the oldest of those to be displayed first. If so, check this. Default: 0
[miniloop reverse_order=0]
get_miniloops( array(‘reverse_order’ => 0 ) );

Shuffle post order? Shuffle the order of the posts matching your query. Perhaps showing the 5 most recent posts in randomized order. Default: 0
[miniloop shuffle_order=0]
get_miniloops( array(‘shuffle_order’ => 0 ) );

Ignore sticky posts? Treat sticky posts as normal posts. I recommend ignoring, or the number of posts displayed may be inconsistent. Default: 1
[miniloop ignore_sticky=1]
get_miniloops( array(‘ignore_sticky’ => 1 ) );

Exclude sticky posts? Don’t show sticky posts at all. Default: 0
[miniloop exclude_sticky=0]
get_miniloops( array(‘exclude_sticky’ => 0 ) );

Only sticky posts? Show only sticky posts. Default: 0
[miniloop only_sticky=0]
get_miniloops( array(‘only_sticky’ => 0 ) );

If viewing a single post, exclude it? If viewing a single post, remove it from the widget display. Default: 1
[miniloop exclude_current=1]
get_miniloops( array(‘exclude_current’ => 1 ) );

Get posts from current category (if archive)? If viewing an archive, only show posts from the same category. Default: 0
[miniloop current_category=1]
get_miniloops( array(‘current_category’ => 1 ) );

Get posts from first category (if single)? If viewing a single post, only show posts from the first category. Default: none
[miniloop current_single_category=1]
get_miniloops( array(‘current_single_category’ => 1 ) );

Get posts from current author (if single or archive)? Show more posts from the current author. Default: none
[miniloop current_author=1]
get_miniloops( array(‘current_author’ => 1 ) );

Categories: Comma separated list of category IDs to pull from. Use negative ID numbers to exclude a category. Default: none
[miniloop categories=”1,8,13″]
get_miniloops( array(‘categories’ => ‘1,8,13’ ) );

Tags: Comma separated list of tag IDs to pull from. Use negative ID numbers to exclude a tag. Default: none
[miniloop tags=”15,40,88″]
get_miniloops( array(‘tags’ => ‘15,40,88’ ) );

Custom Taxonomies: A clunky way to support custom taxonomies. Default: none. To include terms 5, 6, 9 from taxonomy “Genre” do this:
[miniloop tax=”genre=5,6,9″]
get_miniloops( array(‘tax’ => ‘genre=5,6,9’ ) );

Custom Fields: For listing posts that have certain meta data. Default: none. To list posts that have a custom field ‘favorite_color’ with a value of ‘blue’ do this:
[miniloop custom_fields=”favorite_color=blue”]
get_miniloops( array(‘custom_fields’ => ‘favorite_color=blue’ ) );

Exclude Posts: A comma separated list of post IDs to exclude. Default: none
[miniloop exclude=”15,200,1032″]
get_miniloops( array(‘exclude’ => ‘15,200,1032’ ) );

Display

Before Items: Text/HTML to insert before the post list. Default: <ul>
[miniloop before_items=””]
get_miniloops( array(‘before_items’ => ” ) );

After Items: Text/HTML to insert after the post list. Default: </ul>
[miniloop after_items=””]
get_miniloops( array(‘after_items’ => ” ) );

Item Format:
HTML and shortcodes to format each item

Shortcodes

  • [ml_title]
  • [ml_url]
  • [ml_excerpt] Attributes: length (100), wlength (0), after (‘…’), space_between (0), after_link (1), custom (0), strip_tags (1), strip_shortcodes (1)
    • length = excerpt length in characters (0 for none, -1 for full length)
    • wlength = excerpt length in words
    • after = what to show after the excerpt
    • space_between = force space between excerpt and ‘after’
    • after_link = make the ‘after’ link to the post
    • custom = 1 to default/customized excerpts, 0 to trim by lentgh
    • strip_tags = 1 to strip HTML tags, 0 to keep. CAREFUL: it is not generally recommended to keep the tags. Character excerpts may break tags, and thus break an entire page’s layout.
    • strip_shortcodes = 1 to strip shortcodes, 0 to keep
    • up_to_more = 1 to get everything up to the <!--more--> tag (the ‘more’ text), if it exists, otherwise use char/word limit excerpt. 0 use char/word limited excerpt
    • after_with_more = (with up_to_more) 1 to use the ‘after’ text with the ‘more’ text, 0 to add nothing after the ‘more’ text
  • [ml_content]
  • [ml_comment_count]
  • [ml_author]
  • [ml_author_link]
  • [ml_author_avatar] Attributes: size (92), default (”), alt (false)
    • size = avatar size, in pixels
    • default = default if no gravatar. See Settings > Discussion
    • alt = alt text
  • [ml_field] Attributes: name, single (1), separator (‘, ‘), reverse (0)
    • name = custom field name
    • single = 1 get single value, 0 get all values matching name
    • separator = string to separate each value
    • reverse = 0 default order, 1 reverse display order
  • [ml_taxonomy] Attributes: taxonomy, separator (‘, ‘), link (0), justone (0), reverse (0)
    • taxonomy = taxonomy slug
    • separator = string to separate each term
    • link = 1 to link categories to their archive page, 0 for no links
    • justone = 1 to show just first category, 0 to show all
    • reverse = 0 default order, 1 reverse display order
  • [ml_tax] Alias to [ml_taxonomy]
  • [ml_category] Shortcut for [tax taxonomy=category]
  • [ml_tag] Shortcut for [tax taxonomy=post_tag]
  • [ml_date] Attributes: format (‘F j, Y’)
    • format = PHP-style date format
  • [ml_class] Attributes: class
    • class = classes to display in addition to the traditional post classes
  • [ml_image] Attributes: from, cfname, class, width (50), height (50), crop, fallback
    • from (options: thumb, attached, customfield, first)
      • from ‘thumb’ post thumbnail/featured image [ml_image from=thumb]
      • from ‘attached’ first attached image [ml_image from=attached]
      • from ‘customfield’ get from custom field [ml_image from=customfield]
      • from ‘first’ first image in post [ml_image from=first]
    • since 1.1.3, you can pass a comma-separated list to use as fallbacks. [ml_image from="thumb,first"]
    • cfname = custom field to use if from=customfield [ml_image from=customfield cfname=thumbnail]
    • class = class for image
    • width = width of image
    • height = height of image
    • crop = 1 to crop, 0 to scale (not implemented yet)
    • fallback = URL of image to use if ‘from’ doesn’t return anything
    • cache = set to ‘clear’ to generate new thumbnails. It is not recommended that you leave this option on. [ml_image from=thumb cache=clear]

Inside of Item Format, shortcodes can be used without the ml_ prefix.

Sample Item Formats

Format 1: https://s.w.org/extend/plugins/mini-loops/screenshot-2.png

(before: <ul> after: </ul>)

  • [image from=customfield
    cfname=image width=50 height=50 class=alignright
    fallback=’http://dummyimage.com/50′][title]

    [excerpt wlength=30 space_between=1 after=”…” after_link=1]

    By [author] on [date format=”n/j/y”]

    Format 2: https://s.w.org/extend/plugins/mini-loops/screenshot-3.png

    (before: <ul> after: </ul>)

  • [date format=”F j, Y”]

    [image from=customfield cfname=image width=180 height=100
    class=aligncenter fallback=’http://placekitten.com/180/100′]

    [excerpt length=90 space_between=1 after=”…” after_link=1]

    Format 3: https://s.w.org/extend/plugins/mini-loops/screenshot-4.png

    (before: — after: –)

    [title]
    [image from=customfield cfname=image width=140 height=140
    class=aligncenter fallback=’http://placepuppy.it/200/300&text=++woof++’]

    Template Tag

    use miniloops( $args ) or get_miniloops( $args )

    Like WordPress function, the ‘get_’ variant will simply return the results.

    Here are the acceptable arguments and their default values:

    $args = array(
            'title' => __( 'Recent Posts', 'mini-loops' ),
            'hide_title' => 0,
            'title_url' => '',
            'number_posts' => 3,
            'post_offset' => 0,
            'post_type' => 'post',
            'post_status' => 'publish',
            'order_by' => 'date',
            'order' => 'DESC',
            'reverse_order' => 0,
            'shuffle_order' => 0,
            'ignore_sticky' => 1,
            'only_sticky' => 0,
            'exclude_current' => 1,
            'categories' => '',
            'tags' => '',
            'tax' => '',
            'custom_fields' => '',
            'exclude' => '',
            'before_items' => '<ul>',
            'item_format' => '<li><a href="[url]">[title]</a><br />[excerpt]</li>',
            'after_items' => '</ul>',
            );
    get_miniloops( $args );
    

    Shortcode

    [miniloop]
    

    Use with all args listed above
    e.g. [miniloop number_posts=10]

    Exception – ‘item_format’ must be handled differently

    New way (since v0.9):

    Create a custom field named ml_format and save the item format there. Then adjust your [miniloop] shortcode
    e.g. [miniloop number_posts=10][ml_format][/miniloop]

    If needed, you can change the custom field. Just pass the name of the new custom field to the [ml_format] shortcode
    e.g. [miniloop number_posts=10][ml_format name="new_field"][/miniloop]

    Old way:

    ‘item_format’ must go into the content of the shortcode, and square brackets must be replaced with curly brackets.
    e.g. [miniloop number_posts=10]{title}by {author}<br />[/miniloop]

    Also, if you are using html inside the item_format, you must add this into the HTML editor, else your markup will be rendered, not parsed

    Planned

    • true image cropping for remote images

    Other Languages

    Bilingual?

    Send your mo/po files to me at trepmal (at) gmail.com

    Download

    Latest version: Download Mini Loops v1.4.1

    Installation

    1. Download the zip file and extract the contents.
    2. Upload the ‘mini-loops’ folder to your plugin directory (default: wp-content/plugins/).
    3. Activate the plugin through the ‘plugins’ page in WP.
    4. See ‘Appearance’->’Widgets’ to place it on your sidebar. Set the settings.

    Changelog

    Version 1.4.1

    • Fix: Corrects sloppy shortcode fixes.
    • Fix: Mini-Mini-Loops widget default settings.

    Version 1.4

    • General upkeep

    Version 1.3.1

    • Fix: Widget title links

    Version 1.3

    • Fix: Widget warnings since 4.3
    • New: ‘crop’ parameter for the image tag
    • New: Allow any shortcodes in item format
    • New: Automatically clear thumbnail cache on image change. props @om4james
    • Fix: Use widget_title filter

    Version 1.2

    • Fix: undefined index notice if zero posts match query
    • Fix: markup errors in widget. Corrects save issue regarding order
    • Fix: reset postdata instead of query
    • New: BETA – use [ba_archive before='' after=''] shortcode to insert an author/taxonomy link. For use with before|after_items fields.
    • Fix: removed deprecated function for thumbnail creation
    • New: fallback ‘from’ options for [image]. [image from=”thumb,first”] – If no post thumbnail (featured image), get first image from post
    • New: [author_avatar] with optional parameters [author_avatar size=92 default=” alt=0]
    • New: Multisite – Show posts from sister-sites (on same network). REQUIRES ADD ON: https://gist.github.com/trepmal/5073067
    • New: Ajax-paging – View prev/next set of posts in widget. REQUIRES ADD ON: https://gist.github.com/trepmal/5073756

    Version 1.1.2

    • Fix: imbalanced tags if zero posts match query

    Version 1.1

    • New: Changed Before/After Items inputs to textareas for easier modifying if there is a lot of markup.
    • New: Filters for the Before/After Items content. miniloops_{before|after}_items_format $query arguments passed to it. See source for more details.
    • New: “Mini Mini Loops” widget. Simplified ‘Recent Posts’ widget for typical usage – only 3 options.
    • New: Filter for altering query. miniloops_query See source for more details.
    • New: Post author field.
    • New: Get posts from current author (if viewing single post or author archive).
    • New: ‘length’ ‘before’ ‘after’ parameters for [title] and [url] shortcode. Length is number of characters, processed prior to ‘before’ and ‘after’.
    • New: Maximum age field. Only show posts from last X number of days. Thanks bluey80.
    • New: Meta value (alpha and numerical) ordering.
    • New: [post_type] [post_type_archive_link]. Great for Before/After Item formats.
    • New: ‘Any’ option for post type.
    • New: Alt text support for thumbnails.
    • Fix: Missed marking some strings for translation.
    • Fix: Markup mixup for some selected options.
    • General code clean up and improvements, such as full path used in include().

    Version 1.0.1

    • Fix: Multiple tag bug. Only first was being recognized, now correctly accepts all. Thanks Ozias.

    Version 1.0

    • New: Exclude sticky posts option.
    • New: Get posts from first current category (if single).

    Version 0.9

    • Fix: Prevents error from being displayed if image can’t be resized.
    • New: Improved support for multisite use.
    • New: Improved [miniloop] shortcode. Editor tries to hard to “fix” the user-provided item format. Now you can save the format in a custom field. See Other Notes.

    Version 0.8 (2011.10.31)

    • Added French Translation files. (Thanks @maoneetag)

    Version 0.8

    • New: [ml_field] shortcode, [ml_category] shortcode, [ml_tag] shortcode, [ml_taxonomy] shortcode.
    • Fix: strip slashes from widget title.

    Version 0.7

    • New: more excerpt options (use automated/custom excerpts rather than trim by length, option to bypass tag/shortcode stripping). Please report issues.
    • Fix: stipping slashes for before/after item during output.

    Version 0.6

    • New (sorta): shortcode option [miniloop] (see Other Notes for usage). Why “sorta”? shortcode has existed the whole time, I only just now added some docs.
    • New: get posts from current category (if archive).
    • New: custom taxonomies, if only 1 ID given, and it’s negative, treat it like “NOT IN”.
    • Fix: added missing echo in instructions.
    • General code optimization.

    Version 0.5

    • New: get only sticky posts.
    • New: shuffle order.
    • New: [ml_author_link] shortcode.
    • New: [ml_comment_count] shortcode.
    • New: thumbnail cropping for local images.
    • New: Ready for localization.

    Version 0.4

    • New image option: get first attached image (great for galleries!).
    • Bug fix: broken image if no fallback is set.

    Version 0.3

    • Bug fix: post status works now.

    Version 0.2

    • Improvements: hide title, link title, exclude current single post options.

    Version 0.1

    • Initial release version.

    35 thoughts on “Mini Loops”

    1. Hi,
      This is a very useful plugin. I hope you will develop it further. I also have some feature requests.

      Using category slugs, I use friendly links and there is no way in getting the category ID in a easy way in WP so using sulgs or names would speed up things drastically. There are a lot of wp functions that ca do this very easily.

      Some code examples for of short code expalaining how things work in when used in page or post. The “List category posts” has some good examples that are very clear when you start with the plugin.

      Thanks for the good work. This makes working with automatic menu’s in post and pages a lot easier.

    2. I am a novice when it comes to programming details but am hopeful you can provide me with direction for the following. I want to use your plugin to show posts on a page rather than as a widget within a sidebar. How do I go about doing that? Appreciate your kindness and patience. -James.

        1. I have the same question. I wasn't completely clear from viewing your documentation how to do this. Can I use miniloops to display posts on a page just as they would be displayed by default on WordPress? I'm trying to create a static homepage, but insert posts from the loop onto that page. If I wanted to display the three most recent posts with a specific category, what shortcode would I use? Something like?:

          [miniloops number_posts=10 categories=12]

          I say something like that, because I tried that and it didn't look anything like a normal post and the content spilled out of the content area into the sidebar. What am I doing wrong?

          1. To get the three most recent posts, you're on the right track, just make sure to specify 3, not 10.
            [miniloops number_posts=3 categories=12]

            However, Mini Loops will by default display everything in as an unordered list. This is probably not how your themes posts.

            I don't know exactly how your theme displays posts, but your adjustments might be something like this:

            Shortcode:

            [miniloop before_items='' after_items='' number_posts=3 categories=12][ml_format][/miniloop]

            On the same page, create a custom field called 'ml_format' with this value:

            <div class="entry [class]"><a href="[url]">[image from=customfield  
            cfname=image width=50 height=50 class=alignright  
            fallback='http://dummyimage.com/50'][title] 
            [excerpt wlength=30 space_between=1 after="..." after_link=1] 
            By [author] on [date format="n/j/y"]</div>
    3. Hi Kailey. I am using the mini loops plugin and its associated shortcode. Here is what I have:

      [miniloop categories=42 exclude=1696 number_posts=20 before_items= after_items=]{title}[/miniloop]

      This works! However, I have two questions:

      (1) Rather than using the exclude argument, I want to use tags in a conditional type scenario. Ideally, what I would like is:

      [miniloop categories=42 tags=active number_posts=20 before_items= after_items=]{title}[/miniloop]

      Where only posts that are from category 42 and have been assigned the tag active will show. Is this possible?

      (2) I am having difficulties making my list bulleted. My understanding is that the tag defines an unordered list (a bulleted list) however I am having difficulties getting the before_items and after_items arguments to work, assuming that is where my problem lies. Where should I be placing these arguments and how should they be formatted?

      Thank you so much for your assistance.
      James

    4. Hi, Loops Mini is an application that is still very useful to me,
      Thank you.
      Although I have a problem:
      When “w3c validation” errors with the alt property of the images.
      I can fix it how?.

      thanks

      Sorry for my English.

      1. Empty alt tags are now (version 0.9) being provided for W3C validation. In the future I may add an option that allows the alt tag to be customized.

    5. Love this plugin!
      I have deals I like to post on my blog but don’t want them to clutter my front page.
      I set up the plugin to show only the “deals” category and it works great! BUT when I use the WP Hide Post plugin to keep a post from showing on the front page, it also keeps it from showing in my mini loops side bar.

      Is there a way to force all posts in my specified category to show in the widget regardless of it showing on the front page?

      thanks so much for any help!

      1. Took a little investigating, but I think I’ve found a solution.

        You’ll need to edit the Mini Loops plugin, so using your favorite FTP client and text editor, find and open the helpers.php file in Mini Loops plugin folder (probably something like /wp-content/plugins/mini-loops/helpers.php).

        Find the line that reads $miniloop = new WP_Query( $query ); (line 114 in v0.8) and just above that add:

        remove_filter('posts_join_paged', 'wphp_query_posts_join');
        remove_filter('posts_where_paged', 'wphp_query_posts_where');

    6. This plugin are awesome! Thank you very much.
      However I have one problem: When I use shortcodes for image, WP returns this: “Catchable fatal error: Object of class WP_Error could not be converted to string in …pluginsmini-loopshelpers.php on line 550”.

      I tried “post”, “thumb”, “attached” and “first”, but the error persists.
      Thank you again.

      1. Thanks for catching that – I’ll look into it.

        In the meantime, you can add this line right above line 550 to stop the error:

        if( is_wp_error( $new ) ) return;

          1. I’m not sure if the latest version (0.9) will fix the problem you’re having, but give it a try and let me know if it does.

    7. Hello Kailey,

      First of all, thank you for an awesome plugin! Once the site I am building is up and running, I am definitely buying you a “cup of coffee” 🙂

      I was getting the same error as Apu (“Catchable fatal error…”) but only when trying to show the image from the custom field, while the ‘first’ attribute gave no errors and displayed the image placed inside the content without problems.

      On the other hand I have the following issue: the site I am building is multilingual (Catalan and Spanish) and I am quite satisfied with the qTranslate plugin. At first I just used the default post type and Mini Loops had no problem displaying a date-type custom field in its correct language. However, since I wanted a bit more of functionality, I used the “Custom Content Type Manager” plugin to create the “Activitats” custom post type with its own date-type custom field. Then I configured the “Custom Post View Generator” plugin to display the post with its date-type custom field and, as you can see, the date is displayed correctly localized: http://asac.adamfarkas.com/?post_type=activitats&p=357

      However, when I use Mini Loops to make a list, the date custom field is being displayed in English: http://asac.adamfarkas.com/activitats-asac/

      I am using the following shortcode:

      [miniloop post_type=activitats number_posts=20]
      Data: {field name=data}
      {title}
      {image from=first width=150 height=150 class=alignleft}
      {excerpt wlength=55 space_between=0}
      Lloc: {field name=lloc}
      Adreça: {field name=adreca}
      Hora: {field name=hora}
      Preu: {field name=preu}
      [/miniloop]

      I tried {field name=data format=”D, j F, Y”} to no avail… 🙁
      I would really prefer to use Mini Loops for listings as I love the straightforwardness if its item formating… Have any suggestions how to solve this problem? Thanks in advance and sorry for the long post!

      1. Thanks for the detailed report!

        I’m not terribly familiar with either qTranslate or “Custom Content Type Manager” so it might take me a bit to find a solution for you.

        Simply based on what you tried to do (“{field name=data format=”D, j F, Y”}”) you can try this:

        Find the miniloop_field() function in helpers.php (begins at line 305 in version 0.9) and replace it with this

        function miniloop_field( $atts ) {
        extract( shortcode_atts( array(
        'name' => '',
        'single' => 1,
        'separator' => ', ',
        'reverse' => 0,
        'format' => 0,
        ), $atts ) );
        if ( empty( $name ) ) return;

        if ( $single ) :
        $return = get_post_meta( get_the_ID(), $name, $single );
        else :
        $meta = get_post_meta( get_the_ID(), $name, $single );
        if ( $reverse ) $meta = array_reverse( $meta );
        $return = implode( $separator, $meta );
        endif;

        if ( $format )
        $return = date_i18n( $format, $return );

        return $return;
        }

    8. Hi and congratulations for this plugin.
      Sorry for this basic question but I would like to have the posts from the current category when I’m reading a single post. Is that possible ?
      In the widget I can see that : “Get posts from current category (if archive)?” Does it work only when you are reading a category but not a single post ?
      Thanks

      1. Install this slightly modified version. It includes an option to “Get posts from first category (if single)?”

        I’ll keep these changes in my working version so it’ll be compatible with the next release.

        1. youyou ! It works. Tks a lot for your fast answer.
          I will install your plugin on my different websites.
          See you

          1. 🙂 You forgot the “Get posts from first category (if single)?” in the last release no ?

            Cheers and tks again for your work

    9. Is there a way to add the category name to the “Title” field of the widget? It would be the same as when using “Get posts from first category (if single)?” option.

      So instead of having a header like “Recent Posts” it would appear “Recent – Cat A”

      Tried to search this portion of the code, but not familiar with PHP and WP programming…even if you just point out where to change would be appreciated.

      1. You can add [category] to Before Item with additional markup and tick the Hide Title checkbox. This will “fake” a normal widget title.

        1. Thanks.
          Does the easy input options, with fields, exist ? (the one that you see in the photo)

          Or do I have to understand all this code?

      1. Same here.
        Does mini loops support pagination? It would be an awesome feature to have in the next update.

    10. I’m using this code and it works on all pages except my static homepage. I’ve tried to narrow down the conflict without much success. On the homepage it shows nothing. Any idea what I can do? Shortcodes for other plugins work.


      [miniloop number_posts=1][ml_format][/miniloop]

      Here is my custom field, ml_format

      [ml_title]
      [ml_excerpt wlength=40 after="..." after_link=0] Read the rest of this entry

    11. Hi,
      First of all, congrats for developing such a useful widget and thank you.

      [miniloop tags=”-28″ number_posts=2 before_items=” after_items=”]

      I have a problem here. I want to show 2 any post except tag 28. But as I see, it doesn’t recognizes this and shows posts tagged with 28 (since I used the negative letter ‘-‘ in front of the id if the tag, it should do the exact opposite I assume)

      What am I doing wrong here? How can I fix this?

      Thank you again.

    12. I would like to do something really simple. I’d like to have 3 mini loops widgets, each widget would display content from one particular page.

      I have the item format set to [ml_content]; Number of posts to 1; post type to pages…

      “Order by” wouldn’t be as much of a factor since I only want 1 page to display in the mini loops widget – but can I use Order by to identify the specific page I would like to display in the mini loop widget?

      So basically how do I identify the page I want to display in the mini loop widget?

      I’ve tried date, but that only works for so long until you create another page? I’ve tried ID but that wasn’t working in any of the ID fields within mini loop widget.

      Any help would be greatly appreciated!
      Thank you.
      _Cindy

    Comments are closed.

    Please use this plugin's WordPress.org support forum if you need assistance.