Show tag icons instead of tag text in wordpress

蓝咒 提交于 2019-12-22 11:33:47

问题


I would like show tag icons instead of tag icons. As an example, Instead of the tag text "Photoshop" I would like to show Photoshop icon. Any help would be cordially appreciated.


回答1:


You probably will need to make an icon for each tag, then use the tag name to build a path to the icon.

<img src="/icons/<?php echo $tagName; ?>.png" />



回答2:


you could do that with tag images plugin



来源:https://stackoverflow.com/questions/4524057/show-tag-icons-instead-of-tag-text-in-wordpress

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!