[wp-testers] Tag problem
spencerp
spencerp1 at gmail.com
Thu Aug 30 02:58:04 GMT 2007
S.Theyagarajan wrote:
>> Upgraded from 2.2.2 to 2.3-beta 1, if i add a tag it gets stored in the
>> database but its not getting reflected in the edit page.
>>
>
>
> use <?php the_tags(); ?> to display the tags in your post ,may be
> somewhere after the post .and if you are looking to convert all categories
> in to tags ,then you must first convert the exisiting categories in to tags
> from your wp-admin .
Thanks to Jeremy Visser for this one, here's a good one to use for it:
<?php if ( function_exists( 'the_tags' ) ) : the_tags('Tags: ', ', ',
'<br />'); endif; ?>
So if you add that in the theme, and then want to use the SAME theme on
a 2.1 or 2.2 blog, or whatever, it will be safe and won't break
anything. =) In my theme, I used it in the "postmeta" section of the
blog. And this is currently being used on my VB blog. Example:
<p class="posted">
Filed in: <?php the_category(',') ?> | <?php if ( function_exists(
'the_tags' ) ) : the_tags('Tags: ', ', ',
'<br />'); endif; ?> </p>
Of course, tag placement is something you'll need to figure out yourself
then. =)
--
spencerp
http://spencerp.net
http://www.vindictivebastard.net
More information about the wp-testers
mailing list