Title: Thumbs in shortcode?
Last modified: September 17, 2018

---

# Thumbs in shortcode?

 *  Resolved [sroskylos](https://wordpress.org/support/users/sroskylo1/)
 * (@sroskylo1)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/thumbs-in-shortcode/)
 * Hello.
    How must be modified the following shortcode to print custom taxonomy
   thumbs? `[a-z-listing post-type="product" taxonomy="brands" display="terms" numbers
   ="before" grouping="numbers,3"]`

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

 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/thumbs-in-shortcode/#post-10696280)
 * Thumbnails are not a default output for this plugin. You need to customise the
   template and acknowledge that slowness might result.
 * To do so, find the file at `wp-content/plugins/a-z-listing/templates/a-z-listing.
   php` and copy it into your theme. This is the template that will drive your listing.
   You need to edit the template to include an appropriate [`the_post_thumbnail()`](https://developer.wordpress.org/reference/functions/the_post_thumbnail/)
   call.
 * That will not work by itself, however, as the post object is not loaded into 
   memory in an effort to improve performance. In addition to adding a call to `
   the_post_thumbnail()`, you also need to add a call to [`$a_z_listing->get_the_item_object()`](https://a-z-listing.com/reference/classes/a_z_listing/get_the_item_object/)
   directly after the line that calls [`$a_z_listing->the_item()`](https://a-z-listing.com/reference/classes/a_z_listing/the_item/).
   This call must pass as the first parameter a value of `I understand the issues!`
   to confirm that you understand that on a large site this might slow down the 
   page load or cause memory limit issues.
    -  This reply was modified 7 years, 8 months ago by [Dani Llewellyn](https://wordpress.org/support/users/diddledani/).
      Reason: fix link
 *  Thread Starter [sroskylos](https://wordpress.org/support/users/sroskylo1/)
 * (@sroskylo1)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/thumbs-in-shortcode/#post-10696404)
 * Thank you Daniel for the information and this awesome plugin

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

The topic ‘Thumbs in shortcode?’ 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/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [thumbs](https://wordpress.org/support/topic-tag/thumbs/)

 * 2 replies
 * 2 participants
 * Last reply from: [sroskylos](https://wordpress.org/support/users/sroskylo1/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/thumbs-in-shortcode/#post-10696404)
 * Status: resolved