Template Tags in Pages?
-
Hi.
I’m trying to write a page in WordPress that will display all my tags, using this:
<?php wp_tag_cloud('smallest=8&largest=22&unit=pt&number=0&format=flat&orderby=name&order=ASC'); ?>
I go into Write Page and insert that into the ‘code’ area, and then publish the page, but when i view the page, nothing appears, and when i go back to the page to edit it, the ‘code’ area is now blank.
I suspect WordPress does not allow the use of Template Tags when writing pages. Is this the case, and if so, what’s the easiest way to achieve this? I could just delve right in to the php itself, but i don’t see why this should be necessary.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Template Tags in Pages?’ is closed to new replies.