inicio mail me! sindicaci;ón

Wordpress 2.3 Tags 函数调用

  Wordpress 2.3 如期发布,新功能又是一个飞跃,把 UTW 的标签全部导入,调用函数也非常方便。
在需要调用的页面插入
这里列举了三种定义显示效果的代码:
<?php the_tags(’Article Tags>> ‘, ‘ | ‘ , ”); ?>
<?php the_tags(’Tags<LI>’, ‘<BR />’ , ‘</LI>’); ?>
<?php the_tags(’Tags<LI>’, ‘<LI>’ , ‘</LI>’); ?>
标签云的显示效果代码:
块状 <div><?php wp_tag_cloud(); ?></div>
列表 <?php wp_tag_cloud(’format=list’); ?>
用于输出标签云的 wp_tag_cloud() 函数的参数比较多,完整案例是
wp_tag_cloud(’smallest=8&largest=22&unit=pt&number=45
&format=flat&orderby=name&order=ASC’)
具体的参数所代表的意义与作用如下