WordPress tagging is annoying me
UPDATE: got it working using single_tag_title(); (which I didn't see listed in the WordPress Codex...)
I'm trying to get my LetoPrime theme ready for WordPress 2.3. The whole purpose of 2.3 (well, the main purpose) is to get tagging posts into the core of WordPress. Now this has been available for quite a while now; I've been using Ultimate Tag Warrior for a long time and I absolutely love it. But the developer of UTW, Christine, is stopping development of it since it's redundant to have two tagging functions. (I disagree with that, however.)
Right now I'm trying to get my tag.php page working. It's the page that lists the posts that have a particular tag, like this tag page on Lost. Notice a the top where it says "Post Tagged Lost"? I'm trying to do that in WordPress, but I can't since the tag I have to use the_tags(); can only be used in "the loop." (which is the main part of a post.) I need it as an h2.
I really hope there's a workaround for this. It's something simple that should work.
Comments
david
25 September 2007 - 10:10pm
Permalink
Thanks, Antoine. I actually
Thanks, Antoine. I actually got the tag cloud and the like to work, but somehow I managed to break my test site with the updated theme. The theme stopped working (gave me a blank screen) and caused my admin section to not load, either. Blank screen anywhere. Yet when I set it to the default theme through the database, it worked. So there's something screwy going on with the theme.
Which is really frustrating.
Antoine (not verified)
24 September 2007 - 1:47pm
Permalink
Hi, I found a way to do what
Hi,
I found a way to do what you want with WP2.3:
In tag.php, instead of:
UTW_ShowCurrentTagSet("tagsetcommalist");
you can use
echo get_query_var('tag');
Hope it helps,
Antoine
Add new comment