• I use wp plugin Az index for alphabetical catalog and want to add post thumbnails. For this I need correct thumbnail function for thumb image link. In the developer sample it works with custom field and looks as:

    $thumb = get_post_custom_values(‘Thumb’, $item[‘id’]);

    In my code I want to use theme’s thumbnail function:

    $thumb = get_the_post_thumbnail;

    Tried different variants, no result. Displays broken image.

    Can somebody help me please? What is mistake?

    https://www.ads-software.com/plugins/azindex/

  • The topic ‘Adding thumbnails to AZ index’ is closed to new replies.