How to display custom taxonomy tags OUTSIDE the loop
-
I have a page with 100 custom tags assigned to it. These tags are assigned to the custom taxonomy ‘electrician’.
I have a template page called taxonomy-electrician.php
This template page simply shows the below, depending on the custom tag…
<?php single_tag_title(); ?>
is an electricianIn effect it makes me 100 different pages (1 for each custom tag)
I have another group of 50 custom tags from a different custom taxonomy (suburbs).
NB: This group of 50 tags are not related in any way way to the 100 ‘electrician’ custom tagsOn my taxonomy-electrican page I also want to show a list of 10 random custom tags from the other custom taxonomy (suburbs).
In effect I want the taxonomy-electrician.php page to look like this…
Bill is an electrician
[10 random tags from ‘suburbs’]
Thanks heaps.
I have search high and low. If I didn’t have so little hair I’d pull it out ??
- The topic ‘How to display custom taxonomy tags OUTSIDE the loop’ is closed to new replies.