Currently this functionality is only available with a widget, I’m planning to add shortcode and php code too.

This is the most powerfull widget for creating any kind of custom loop, the limit is your immagination 🙂

Some basic example:

Those above are only a few example of what you can do with this widget.

See below all available options.

    Options available:

  • Attribute: container_class
    Default: empty
    This is the container of the list of posts (the section HTML tag), you can add any CSS class for styling it.

  • Attribute: post_class
    Default: empty
    Enter the post class name.

  • Attribute: image_class
    Default: empty
    Enter the image class name.

  • Attribute: entry_title
    Default: h4
    Enter the heading tag for title (default is h4).

  • Attribute: custom_css
    Default: empty
    Enter your custom CSS.

  • Attribute: template
    Default: default
    Select the template to display posts.

  • Attribute: template_custom
    Default: empty
    Insert your template custom name, separate directory name and file nema by "/", you have to insert your custom file in your theme in the "templates" directory. If the directory doesn't exist you have to create it. If no file is found it will be loaded the default query file. Example: post/my-custom-loop-file

  • Attribute: posts_number
    Default: 5
    Insert the number of posts to display. Be carefully, if is sett to 0 will be displayed all post_type. (Default: 5).

  • Attribute: add_permalink_wrapper
    Default: 1
    This adds the post_type permalink to the title and the image if they are displayed.

  • Attribute: show_title
    Default: 1
    Check if you want to show the title.

  • Attribute: show_date
    Default: empty
    Check if you want to show the date.

  • Attribute: date_format
    Default: F j, Y g:i a
    Check if you want to show the date.

  • Attribute: show_author
    Default: empty
    Check if you want to show post's author.

  • Attribute: show_comments_number
    Default: empty
    Check if you want to Show comments number.

  • Attribute: show_excerpt
    Default: empty
    Check if you want to show excerpt.

  • Attribute: excerpt_length
    Default: 10
    Insert the numbers of words to display.

  • Attribute: show_content
    Default: empty
    Check if you want to show content.

  • Attribute: show_readmore
    Default: empty
    Check if you want to show readmore tag.

  • Attribute: use_global_read_more
    Default: empty
    Check if you want to use the plugin setting for readmore tag configuration. If in global settings Read More is not active it will be used the below value.

  • Attribute: excerpt_readmore
    Default: Read more →
    Insert a custom "read more" label. If "Use global readmore" is selected the global label will be used.

  • Attribute: read_more_class
    Default: more-link
    Insert a custom CSS class for the read more link. Default read-more. Ex: btn btn-primary.

  • Attribute: show_thumbnail
    Default: empty
    Check if you want to show thumbnail.

  • Attribute: thumb_size
    Default: thumbnail
    Select the thumbnail size to display in posts list.

  • Attribute: show_first_thumbnail_bigger
    Default: empty
    Check if you want to show the firt thumbnail bigger.

  • Attribute: first_thumb_size
    Default: medium
    Select the thumbnail size to display in posts list.

  • Attribute: thumb_id
    Default: empty
    Add a fall-back thumbnail in case no one is found.

  • Attribute: show_cats
    Default: empty
    Check if you want to Show post by categories.

  • Attribute: show_tags
    Default: empty
    Check if you want to show post by tags.

  • Attribute: custom_fields
    Default: empty
    Insert here the custom fields (comma separated).

  • Attribute: cats
    Default: empty
    Select the categories. (Use ctrl for multiple select).

  • Attribute: tags
    Default: empty
    Select the Tags. (Use ctrl for multiple select).

  • Attribute: related_by_tags
    Default: empty
    Check if you want to Show related posts by tags.

  • Attribute: related_by_cats
    Default: empty
    Check if you want to Show related posts by cats.

  • Attribute: offset
    Default: empty
    Number of post to displace or pass over. Warning: Setting the offset parameter overrides/ignores the paged parameter and breaks pagination (Click here for a workaround). The "offset" parameter is ignored when "posts_per_page"=>-1 (show all posts) is used.

  • Attribute: exclude_current_post
    Default: empty
    Check if you want to Esclude the current post from loop.

  • Attribute: from_current_user
    Default: empty
    Insert the user ID you want to display posts.

  • Attribute: post_types
    Default: post
    Select the post type to show.

  • Attribute: most_viewed
    Default: empty
    Visualize the most viewed posts. This works only if you have Jetpack stats installed and actived.

  • Attribute: post_id
    Default: empty
    Insert posts ID separated by comma. Example: 1,2,3

  • Attribute: sticky_post
    Default: show
    Select if you want to show sticky posts or not.

  • Attribute: context
    Default: empty
    This is the context in wich this instance is used, by default it is set to "posts" (the name of the class lowercase), if you are not a developer do not worry about it, if you are a developer you can filter the query_args by the context.

  • Attribute: orderby
    Default: date
    How posts have to be ordered.

  • Attribute: meta_key
    Default: empty
    Inser the custom field separated by comma and select "Order by Value..." above.

  • Attribute: order
    Default: DESC
    How posts have to be ordered.

  • Attribute: connected_type
    Default: empty
    Select the connection type for displaying this loop.

Last edit:

There are no comments yet, why not be the first

Leave a Reply

Your email address will not be published. Required fields are marked *