![]() |
Wordpress 2.3 tags question
Has anyone been able to get
<p><?php the_tags(); ?></p> to work on their blogs? I've put this code just about everywhere on the post template I can think of, and it won't display the tags. I've got the most popular tags displayed in the sidebar, but I can't seem to get them to display on individual posts. Thanks in advance for your help. |
You will need a plugin. The posts are converted to remove such things.
http://dev.wp-plugins.org/wiki/RunPHP |
hrmn if you are putting it in the post template it should show up in only the post url : www.site.com/the-post/
if you want it to show on the main page also add it in index.php template between <div id=post> (or something along those lines) try this code <?php the_tags('Tags:', ' ', ''); ?> |
I got it.
You have to replace this <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> with this <?php if ($posts) : foreach ($posts as $post) : the_post(); ?> in order to display the tags on your template. |
All times are GMT -7. The time now is 07:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123