AtoZ Sorting

By Solaiman Sadek

★ 4.0/5 (1 ratings)20+ active installationsVersion 1.1

A simple plugin to sort your posts by "A to Z", i.e. Alphabetically. It supports regular posts as well as Custom_Post_Type.

Description

A simple plugin to sort your posts by “A to Z”, i.e. Alphabetically. It supports regular posts as well as Custom_Post_Type. You can also control the number of posts to display and order them in different ways.

Installation

The quickest method for installing the plugin is:

  1. Upload the AtoZ-Sorting folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

How can I use this Plugin?

Follow the steps:

  1. Install the plugin,
  2. make a blank page with default template,
  3. use shortcode to display your desired contents.

What are the shortcodes?

  1. [atoz_sorting]
  2. [atoz_sorting post_type=”post”]
  3. [atoz_sorting post_type=”post” number=”10″]
  4. [atoz_sorting post_type=”post” number=”10″ order_by=”title”]
  5. [atoz_sorting post_type=”post” number=”10″ order_by=”title” order=”ASC”]

What are the meaning of shortcodes?

  1. Using only [atoz_sorting] will show posts from blog posts by default with 15 posts per page with ascending order.
  2. Use “post” as “post_type” if you want to display blog posts or use “your_custom_post_type_name” to display posts from that Custom Post Type.
  3. Use “number” to control maximum number posts to show
  4. Use “order_by” to order posts in different ways. The values can be: date, title, popular & random.
  5. Use “order” to order in Ascending or Descending method. The values can be: ASC & DESC.

Screenshots

Changelog

1.0

  • Initial release.

1.1

  • New options added (Number of posts to display, different ordering methods etc.)
  • Link issue fixed.