Plugin / A-Z Listing

Daniel Llewellyn

Frequently Asked Questions (FAQ)

If you are using a page-builder such as WPBakery or Elementor you need to ensure that you put the short-code into a normal text area. Placing the short-code into a preformatted text area will add
 tags around the listing output. These extra tags break the layout considerably.    										
The list of items under each letter heading needs to have at least 11 items for a second column to be created. Once you hit the magic 11 items, the list will break into two columns with 6 items in the first column and 5 items in the second. When you get to 21 items a third column will be added if there is room on your page; and so-on up to a maximum of 15 columns if there is enough space, though it is unexpected that any web-page be wide enough for more than a few columns to fit. The columns will fill-up evenly once you have more than one column on the page.
This can be achieved using the short-code or PHP. In these examples the generic phrase post-type-slug is used to describe the concept. The default post types provided by WordPress are called “Posts” and “Pages”. Their slugs are post and page respectively. You need to use these names in place of the examples (i.e. your-post-type-slug, type1-slug, and type1-slug). short-code method Single post-type [a-z-listing post-type="your-post-type-slug"] Multiple post-types For multiple post-types just separate them with a comma. [a-z-listing post-type="type1-slug,type2-slug"] PHP method PHP code needs to be added to your theme files, and cannot be used as post or page content in the way that a short-code can. Single post-type 'your-post-type-slug' ) ); ?> Multiple post-types array( 'type1-slug', 'type2-slug' ) ) ); ?> The argument to the_a_z_listing() is an array and takes the same parameters as WP_Query The code above needs to be within a php block which is denoted by the pair. Depending on your theme, you might not need the opening and closing php tags shown in the above snippet; if that is the case, you are free to omit them in your code.
This can be achieved using the short-code or PHP. In these examples the generic phrase taxonomy and term are used to describe the concept. The default taxonomies provided by WordPress are called “Categories” and “Tags”. Their slugs are category and post_tag respectively. Each Category and Tag are then known as “terms”. You need to use the slug for each individual category or tag in place of the example slugs (i.e. term-slug, term1-slug, and term1-slug). short-code method Single term [a-z-listing taxonomy="taxonomy-slug" terms="term-slug"] Multiple terms For multiple terms just separate them with a comma. [a-z-listing taxonomy="taxonomy-slug" terms="term1-slug,term2-slug"] PHP method PHP code needs to be added to your theme files, and cannot be used as post or page content in the way that a short-code can. array( 'taxonomy' => 'your-taxonomy-slug', 'field' => 'slug', 'terms' => array( 'term1-slug', 'term2-slug' ) ) ) ); ?> Any number of terms may be added to the terms array, including one or none. The argument to the_a_z_listing() is an array and takes the same parameters as WP_Query The code above needs to be within a php block which is denoted by the pair. Depending on your theme, you might not need the opening and closing php tags shown in the above snippet; if that is the case, you are free to omit them in your code.
This can be achieved using the short-code or PHP. In these examples the generic phrase taxonomy and term are used to describe the concept. The default taxonomies provided by WordPress are called “Categories” and “Tags”. Their slugs are category and post_tag respectively. You need to use the slug for the taxonomy in place of the example slugs (i.e. taxonomy-slug). short-code method [a-z-listing taxonomy="taxonomy-slug" display="terms"] The taxonomy parameter takes a single taxonomy’s slug, e.g. category or post_tag. The display="terms" attribute is required to display taxonomy terms instead of posts. PHP method PHP code needs to be added to your theme files, and cannot be used as post or page content in the way that a short-code can. The argument to the_a_z_listing() is a string and contains the slug of a single taxonomy, e.g. category or post_tag. The code above needs to be within a php block which is denoted by the pair. Depending on your theme, you might not need the opening and closing php tags shown in the above snippet; if that is the case, you are free to omit them in your code.
In your theme’s functions.php file add the following code: This filter may also be used, by removing entries which are standard $post variables, to limit which top-level pages are used as section identifiers. If there is code already in your functions.php then add just the lines between on the line directly after the very first instance of
Yes you can. This needs the following code added to your theme’s functions.php file. We purposely only display the stylesheet on pages where the short-code is active. If there is code already in your theme’s functions.php file then add just the lines between on the line directly after the very first instance of If there is code already in your theme’s functions.php file then add just the lines between on the line directly after the very first instance of
In your theme’s functions.php add the following code: If there is code already in your functions.php then add just the lines between on the line directly after the very first instance of
In your theme’s functions.php add the following code: If there is code already in your functions.php then add just the lines between on the line directly after the very first instance of

Ratings

4.9
40 reviews

Rating breakdown

Details Information

Version

3.1.0

First Released

12 Nov, 2013

Total Downloads

48,954

Wordpress Version

4.6 or higher

Tested up to:

5.2.4

Require PHP Version:

5.6 or higher

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.