Vizou Quickloop

Tabbed category

The Vizou Quickloop plugin allows adding posts to any post or page via a shortcode with multiple parameters. I frequently design one-page style sites where key info appears in multiple sections on the home page as you scroll down. My approach involves a custom template for a parent page with multiple child pages that are automatically added to the home page by my clients. This plugin was my way of simplifying the addition of specific post content to each child page (news, calendar listings, videos, etc.), in a way that my clients could easily use it and modify the number of posts, order and other parameters.

Features

There are currently no settings for this plugin.

  • Get and display posts inside a page – for example, add news posts following an intro on the home page
  • Use a variety of query parameters in a shortcode – p, cat, posts_per_page, menu_order, order, offset, class
  • Add a custom class to your query and use classes to activate custom templates from your theme
  • Web devs (experienced or aspiring) can override the default layout via a theme template
  • Use the shortcode on any page where you want posts to appear (it will work on posts, too)
  • Display multiple or single posts

Requirements

  • Requires at least WordPress 6.0
  • Tested up to WordPress 6.8
  • Requires PHP 8.0 or later
  • License GPLv2 or later, https://www.gnu.org/licenses/gpl-2.0.html

Screenshots

How to use the shortcode

In any page, wherever you’d like to have posts appear, use the shortcode [vizou-quickloop] with post query parameters as in the examples below.

Get 3 posts from category 2 and order them ascending by menu order

[vizou-quickloop cat="2" posts_per_page="3" orderby="menu_order" order="asc"]

Vizou Quickloop

For WordPress. The Vizou Quickloop plugin allows adding posts to any post or page via a shortcode with multiple parameters.

Get a single post

[vizou-quickloop p="35"]

Get posts by tag

[vizou-quickloop tag="plugins"]

Get 5 posts from category 2 and skip the first one

[vizou-quickloop cat="2" posts_per_page="5" offset="1"]

Add a custom class to the container and its posts

[vizou-quickloop cat="9" posts_per_page="1" class="featured"]

Customize the default layout

To override and customize the default layout, open the plugin file vizou-quickloop.php and copy and paste the section marked START LAYOUT to END LAYOUT into a document called vizou-quickloop-template.php in your theme’s root. Upload that file to your theme.

Latest version

Download the latest version.

Download version 1.0.8

Changelog

Version 1.0.8

  • Use multiple custom classes like class="listings artists"

Version 1.0.7

  • Class-specific template support – use different templates for different layouts by creating files like vizou-quickloop-template-gallery.php or vizou-quickloop-template-featured.php in your theme

Version 1.0.6

  • Added multiple custom template option based on “class” parameter
  • Added “exclude” and “include” parameters (title, excerpt, date, permalink, thumbnail)
  • Added Settings “help” page

Version 1.0.5

  • Changed shortcode to [vizou-quickloop] (with backwards compatibility for [[quickloop]])

Version 1.0.4

  • Added shortcode parameter for custom class [vizou-quickloop class="your-custom-class"]

Version 1.0.0

  • Converted a shortcode function into a small plugin