You need to be sure that the term and taxonomy values are correct.
Go to the admin screen and select the taxonomy containing the term you want to display in the A-Z Listing (e.g. the taxonomy containing the term a-partir-de-02-ans). Check the address bar of your browser, and note the taxonomy name:
https://example.com/wp-admin/edit-tags.php?taxonomy=category
In the above address the taxonomy is called category and that needs to be inserted into the taxonomy="" bit of the short-code. If your address does not include /edit-tags.php?taxonomy= at all then you’re not viewing a taxonomy. (This plugin can only filter posts by taxonomy terms or by excluding specific post IDs.)
Now click on the term you want to display in the A-Z Listing and copy the contents of the slug field. This needs to go into the terms="" part of the short-code.
This should work with any term, multiple terms separated by commas (,), and any taxonomy.
Hello and thank you for your answer.
I did as you told me.
I have a Taxonomy called “format” and a slug “02-serie”.
I can edit them from this page:
https://www.filmspourenfants.net/wp-admin/edit-tags.php?taxonomy=format&post_type=page
So I put the code
[a-z-listing post-type="page" taxonomy="format" terms="02-serie"]
But that does not take into account the setting.
It should work, right?
I just had a doubt: does the selection of taxonomy work with Pages?
You’re right – good catch. There’s a limitation with taxonomies against pages.
I can alleviate that, partly, by updating the plugin to use get_pages on a more limited basis – currently it uses get_pages for any listing that requests pages as the post type. I’ve worked up some code which I’ll put into a new version 2.1.0 in the coming week, but there will still be an issue if the plugin thinks it needs to show child and grandchild pages of a specific post.
Hello and thank you for your anwser.
I’ll wait for the update π
I talk for myself : doesn’t matter if it is child and grandchild. I do not use this functioonnality for now.
Thanks again and good luck for the next release !