Title: Shortcode Not Working
Last modified: January 4, 2021

---

# Shortcode Not Working

 *  Resolved [kamilis](https://wordpress.org/support/users/kamilis/)
 * (@kamilis)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-not-working-366/)
 * I’m trying to get a specific subcategory to show up as an alphabetical list. 
   This is the short code I’m using.
 * [a-z-listing post-type=”post” a-z-listing taxonomy=”category” terms=”regions”]
 * There should be at least two entries that should show up.
 * This is a subcategory of the category locations.
 * What am I doing wrong?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-not-working-366%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-not-working-366/#post-13864277)
 * Hi,
 * Do you want to show _posts _that are assigned the term “regions”, or do you want
   to show _terms _whose parent is “regions”?
 * For posts which are assigned the term “regions” you want:
 *     ```
       [a-z-listing display="posts" post-type="post" taxonomy="category" terms="regions"]
       ```
   
 * For terms whose parent term is “regions” you want:
 *     ```
       [a-z-listing display="terms" taxonomy="category" parent-term="regions"]
       ```
   
 * If the listing isn’t showing any results for the relevant shortcode, double check
   that your term/parent-term has the “slug” of “regions”. If you use the first 
   of the shortcodes above, you should also double-check that there are posts assigned
   to “regions”.
 * You might also be able to show posts which have a term nested underneath the “
   regions” category with:
 *     ```
       [a-z-listing display="posts" post-type="post" taxonomy="category" parent-term="regions"]
       ```
   
 * However, I’m not certain that last option works.
 *  Thread Starter [kamilis](https://wordpress.org/support/users/kamilis/)
 * (@kamilis)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-not-working-366/#post-13864297)
 * The first code worked, thank you so much, it’s going to make my website look 
   a lot better!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcode Not Working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/a-z-listing_d8edfd.svg)
 * [A-Z Listing](https://wordpress.org/plugins/a-z-listing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/a-z-listing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/a-z-listing/)
 * [Active Topics](https://wordpress.org/support/plugin/a-z-listing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/a-z-listing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/a-z-listing/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kamilis](https://wordpress.org/support/users/kamilis/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-not-working-366/#post-13864297)
 * Status: resolved