View Single Post
Old 2008-07-13, 11:22 AM   #10
RedCherry
Of all the things I've lost, I miss my mind the most.
 
RedCherry's Avatar
 
Join Date: Apr 2004
Location: Middle of the Desert, Pahrump, NV
Posts: 3,187
Send a message via ICQ to RedCherry
Quote:
Originally Posted by ladydesigner View Post
I noticed that too <sigh>. Thanks for looking. Right now I'm going to try to figure out how to make the tags display under each post (it's a wordpress blog) and how to add the tag cloud to the sidebar (without using the widgets - I edit/add html by hand).
Hard to not use widgets for tag cloud, but to get the tags to display, you can use this code:

Code:
<?php the_tags('Tags: ', ', ', ''); ?>
I normally put it under the post, with at least one blank line between the post code and it. I put this on the main index page template, single post template, search, and archives pages so it shows up everywhere.

If you want to display tags in your post, you need to edit the simple tags file.

Find the file simple-tags.client.php in both the 2.3 folder, and 2.5. Go down to approx line 182 you will see code that looks like this:

Code:
// Remove embedded tags in posts display
		if ( $this->options['use_embed_tags'] == 1 ) {
			add_filter('the_content', array(&$this, 'filterEmbedTags'), 0);
		}
Comment it out like this:

Code:
	// Remove embedded tags in posts display
	//	if ( $this->options['use_embed_tags'] == 1 ) {
	//		add_filter('the_content', array(&$this, 'filterEmbedTags'), 0);
	//	}
and your tags will show up in your posts too.
RedCherry is offline   Reply With Quote