I want to create a loop on my blog site only with categories and no posts. So that i have a clickable list with categories and thumbnails.
This code is the working base structure, but the images don’t show up. How to load them correct?
<?php
$categories = get_categories( array(
‘orderby’ => ‘name’,
‘order’ => ‘ASC’
) );
if ( ! empty( $categories ) ) :
?>
<?php endif; ?>