I'm trying to manually display the link of a custom taxonomy term that I have created. The taxonomy is 'event-themes' and the term is 'Boat'. Here's my code:
<?php $themeOne = array( 'tax_query' => array( array( 'taxonomy' => 'event-themes', 'field' => 'slug', 'terms' => 'boat-theme' ) ) ); ?> <li><a href=""><img src="<?php bloginfo('template_directory'); ?>/images/eventSearch/theme-onFoot.png" /><span><?php echo $themeOne; ?></span></a></li>
I'm not very familiar with PHP so I guess I'm probably missing something very obvious here, but my main aim is to simply 'handpick' the taxonomy term I want, and display a link to the page displaying all posts/pages under it.