• 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)
  • I suspect WordPress does not allow the use of Template Tags when writing pages.
    Or posts.

    It does NOT allow PHP in any type of content (would be suicidal).

    You do not put PHP code in the content. You create a Page template and put your code there. Then create a new Page using your new template.

    When I create a page in wordpress their are no tags at the bottom of the page as if I was to create a post…their are tags at the bottom of the post.

    Why?? can I have tags in the bottom of the pages? It ask for them when creating the page.

    miom

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Template Tags in Pages?’ is closed to new replies.