Show your posts, pages, and terms alphabetically in a Rolodex-, catalogue-, or directory-style list with the A-Z Listing plugin!
The plugin has a short-code for the list, and a widget so you can link to the list from anywhere on your site. If a letter doesn’t have any pages then the widget will display the letter unlinked. The list page will omit the display for that letter entirely.
Show posts from any or multiple post types including the in-built posts and pages. Also supported are post-types from plugins like WooCommerce products. Alternatively, show terms like categories or tags.
Version 4.0.0 introduces new block editor support. You should use the block in most cases, as it helps to guide you through configuring the various options.
The plugin supplies a short-code for the full A-Z listing allowing use without modifying your theme’s templates.
Basic usage is as follows:
[a-z-listing]
To specify a post-type to display instead of page then use, e.g. post:
[a-z-listing display="posts" post-type="post"]
To filter the posts by a term from a taxonomy:
[a-z-listing display="posts" post-type="post" taxonomy="category" terms="my-term-slug"]
To display pages that are direct children of the page with ID 24:
[a-z-listing display="posts" post-type="page" parent-post="24"]
To display pages that are children of any depth below the page with ID 24:
[a-z-listing display="posts" post-type="page" parent-post="24" get-all-children="yes"]
To show terms from a taxonomy instead of posts and pages, e.g. Terms from the Categories taxonomy:
[a-z-listing display="terms" taxonomy="category"]
To show terms from the Categories taxonomy that are direct children of the term with ID of 42:
[a-z-listing display="terms" taxonomy="category" parent-term="42"]
To show terms from the Categories taxonomy that are children of any depth in the tree below the term with ID of 42:
[a-z-listing display="terms" taxonomy="category" parent-term="42" get-all-children="yes"]
To override the alphabet used by the plugin:
[a-z-listing display="posts" alphabet="Aa,Bb,Cc,Dd,Ee,Ff,Gg,Hh,Ii,Jj,Kk,Ll,Mm,Nn,Oo,Pp,Qq,Rr,Ss,Tt,Uu,Vv,Ww,Xx,Yy,Zz"]
To add numbers to the listing:
[a-z-listing display="posts" numbers="after"]
The numbers can also be shown before the alphabet:
[a-z-listing display="posts" numbers="before"]
You can group the numbers into a single collection for all posts beginning with a numeral:
[a-z-listing numbers="after" group-numbers="yes"]
To group the alphabet letters into a range:
[a-z-listing grouping="3"]
** The arguments are all optional **
** You should not need to touch these, as they are meant for internal use by the plugin only**
The best way to use the plugin from PHP is to call do_shortcode( '[a-z-listing]' ); and save or echo the returned text. The parameter passed to do_shortcode() should be a complete A-Z Listing shortcode with parameters as above.
<?php the_a_z_listing( $query ); // or get_the_a_z_listing( $query ); ?>
Where $query is one of the following:
Full API documentation is available at A-Z-Listing Reference
Multiple column layout is the default on wide screens. A letter’s group of items must contain at least 15 items to create two or more columns. This is to provide a more aesthetically pleasing view when a list is short with only a few items.
The plugin allows the site owner, developer, or themer to provide custom templates for the A-Z Listing output.
NOTE: These functions have changed name and method of access in 1.0.0. We have dropped the _a_z_ moniker in the function name and within the template file they are accessed via the $a_z_listing object. The former function names are still accessible, but are largely deprecated.
To add a template to your theme, you need a file similar to the templates/a-z-listing.php file in the plugin folder. Your copy needs to be placed within your theme at the theme root directory and called a-z-listing.php or a-z-listing-section.php (where -section is an optional top-level page slug for the section-targeting feature).
The theme system this plugin implements is very similar to the standard WordPress loop, with a few added bits.
Important functions to use in your template are as follows:
When you are within the Item Loop you may utilise all in-built WordPress Core post-related functions such as the_content(). Note that titles and permalinks have helper functions to cope with the A-Z Listing showing taxonomy terms (see the next section).
I advise that you start with a copy of the default template template when customizing your own version. The supplied templates show the usage of most of the functions this plugin provides.
The plugin supports displaying taxonomy terms as though each term were a post. This means that the WordPress functions related to posts such as the_title() and the_permalink() are unreliable. We have therefore added helper functions which will return or print the correct output for the item.
NOTE: These functions have changed name and method of access in 1.0.0. We have dropped the a_z moniker in the function name and within the template file they are accessed via the $a_z_listing object. The previous function names are still accessible, but are largely deprecated.
These helper functions cope with the dual usage of the plugin supporting both WP_Query-based (returning WP_Post objects) and Taxonomy Terms (returning WP_Term objects) listings. These are:
Starting from $0 per month.
Rating
Reviewers
64 reviews
Tags
Developed By
Dani Llewellyn
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Easily Gather and Organize Event RSVPs and Registrations
Connect instantly with visitors via our customizable Call Button
Create Impressive Vimeo Feeds & Improve User Experience
Boost engagement, increase conversions, and captivate visitors
Create Beautiful Linkedin Feeds & Improve User Experience
Engage Users, Boost Leads, and Elevate Conversions Seamlessly
Add real-time, personalized weather updates effortlessly
Boost Credibility, Improve SEO & Increase Conversions
Captivate visitors with stunning animated titles effortlessly
Create Engaging, Customizable Popups with Ease and Style
Eye-Catching Multi-Rows Image Slides
Elevate Your Online Showcase: Intuitive Catalog Management Made Simple
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!