Support » How-To and Troubleshooting » WP Page will not display ‘tags’
6 years, 6 months ago
I have a WP Page that is using a template (for all archives) that already displays monthly and categories:
‘<h2 class=”browse”>By Month:</h2>
<h2 class=”browse”>By Category:</h2>
This works perfectly.
I am trying to get one more line to display By Tag:
<h2 class=”browse”>By Tags:</h2>
I have used several different tag codes and nothing works.
As this is a Page and there is not loop, is that why?
But if that is the case why do the monthly and category work?
OK, using this:
<?php wp_tag_cloud(); ?>
I get a tag cloud. Now I must style it into a simple list!
Seems like it would be a long list, which I guess is why people use
<?php wp_tag_cloud('smallest=8&largest=22&'); ?>
Maybe something here:
Function Reference/get tags
Function Reference/get the tags
yes it is a long list, which is just what I wanted in this one instance, for this one special archives Page.
I wouldn’t recommend using this in the sidebar LoL