WP Manifestindependent plugin directory
manifest / content / display-posts-alpha-view

Display Posts - Alpha View

This plugin extends Display Posts by letting you display an alphabetical listing of your content, broken down by letter.

by Bill Erickson · github.com/billerickson/display-posts-alpha-view · website

9stars
3forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/billerickson/display-posts-alpha-view/archive/refs/heads/master.zip

Readme

Display Posts - Alpha View

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

Description

Display Posts is the simplest way to query and display content in WordPress.

[display-posts alpha_view="true"]

screenshot

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.

Filters

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

Read the full README on GitHub →