Contributors: billerickson
Tags: shortcode, pages, posts, page, query, display, list,
Requires at least: 3.0
Tested up to: 5.1
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Display Posts is the simplest way to query and display content in WordPress.
[display-posts alpha_view="true"]
This plugin extends Display Posts by letting you display an alphabetical listing of your content, broken down by letter. You can use all of the Display Posts parameters to customize the query, other than orderby
and order
which are automatically set to sort alphabetically, and posts_per_page
which is set to all posts.
Use the alpha_view
parameter to display the alphabetical listing. You can also add an optional title
to appear above the listing.
If you're a developer, you can use the following filters to customize the markup:
display_posts_alpha_view_heading_tag
- The heading tag used for date headings. Default is h4.display_posts_alpha_view_heading_class
- The class added to the heading tag. Default is .display-posts-date.display_posts_alpha_view_query_args
- Customize the query arguments when alpha_view is active