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()
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()
directly after the line that calls $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 6 years, 2 months ago by Dani Llewellyn. Reason: fix link