• Hi there @diddledan

    how would I go about this :

    1000 categories, I’d like to make manual A to Z pages and load categories on these pages according to their names.

    1.So Page A shows All categories that start with A
    2.A-Z menu built in is not showing
    3.How do I add a small thumbnail to each of them ? I’ve seen some code floating around to load them but where do I apply a thumb to a specific category to have it loaded ?

    Thank you!

    • This topic was modified 5 years, 9 months ago by michaelsamo.
Viewing 1 replies (of 1 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    The first of your requirements is not possible via my plugin. You can only load the whole listing, not a part of it.

    Your second requirement is achievable by copying the file from the plugin folder at templates/a-z-listing.php into your theme and removing the part near the top that calls $a_z_query->the_letters().

    To add a thumbnail you need to again copy the file from the plugin’s templates folder into your theme (edit the file you copied above). You will want to add code that calls $item = $a_z_query->get_the_item_object( 'I understand the issues!' ); inside the while loop e.g. add it on line 35. Now you have $item containing your post or term you can call the WordPress-provided functions as you would elsewhere in your theme.

Viewing 1 replies (of 1 total)
  • The topic ‘1 letter at a time + thumbnails’ is closed to new replies.