Quantcast
Channel: ‘category_description’– WordPress.org Forums
Browsing all 48 articles
Browse latest View live

boetter on "Links in category_description"

Solved it by removing add_filters in line 105 in admin-db.php :-)

View Article



rembem on "Links in category_description"

Thanks Boetter! I was searching for the same answers. Your solution works.

View Article

boetter on "Links in category_description"

I can get quite nasty if you put these description into a title description for your category links. Your site will then ultimately break, but as long as you keep of that part it will be fine. Glad I...

View Article

macitect on "Using category_description () to display....the description of...

Thank you! This post was really helpful. Sorry I can't be the person more experienced than you to help address your question.

View Article

richarduk on "Using category_description () to display....the description of...

Although I've never used it this plugin looks like it could do the trick http://www.dagondesign.com/articles/sitemap-generator-plugin-for-wordpress/ As you correctly said you created a Page. A Page is...

View Article


Samuel Wood (Otto) on "Using category_description () to display....the...

This is a bit inaccurate. You can call category_description($category) anywhere, but you do need to pass it the category ID number. So, in the loop, if you had a post in a bunch of categories, you...

View Article

sepguy on "Links in category_description"

Hi, just to add to this, on version 2.1 you need to edit out this line: //$category_description = apply_filters('pre_category_description', $category_description); and if you want to add text into the...

View Article

nathanielstern on "get rid of p tags in category_description"

Hey wise people. I'm using category_description to fill in my title attributes on anchor tags (so when you mouse over a cat, it gives you its description). Worked great in 2.2, but 2.3 seems to add p...

View Article


Samuel Wood (Otto) on "get rid of p tags in category_description"

We're going to need to see what code you're using to know what you're talking about.

View Article


nathanielstern on "get rid of p tags in category_description"

DELETING AND TRYING AGAIN

View Article

nathanielstern on "get rid of p tags in category_description"

NO LUCK

View Article

nathanielstern on "get rid of p tags in category_description"

ARRRGH

View Article

moshu on "get rid of p tags in category_description"

Below it is said clearly: you should put the code between ` (usually top left of your keyboard). If you can't find it, use http://wordpress.pastebin.ca - the code above is useless...

View Article


nathanielstern on "get rid of p tags in category_description"

yeh, i know i'm doing that and it's not working... not sure why. i edited several tiems with those, as well as trying html entities. anyhow basically, without all the right stuff around it, i've got `a...

View Article

nathanielstern on "get rid of p tags in category_description"

ok, this is just silly. go here and please help.

View Article


Samuel Wood (Otto) on "get rid of p tags in category_description"

Your code: <a href="<?php echo (get_category_link($catid)) ?>" title="<?php echo (category_description($catid)) ?>"><?php echo $cat_name ?></a> So, you're saying that...

View Article

nathanielstern on "get rid of p tags in category_description"

hmmm. I'm hoping I'm doing this right - I went to wp_term_taxonomy and chose one of the descriptions to edit using phpMyAmin, and there were no P tags there. Would they be there were they in the...

View Article


nathanielstern on "get rid of p tags in category_description"

but the function does not seem to be the culprit either. I replaced the current function from 2.3: function category_description($category = 0) { global $cat; if ( !$category ) $category = $cat; return...

View Article

Samuel Wood (Otto) on "get rid of p tags in category_description"

I think it's coming from here, in default-filters.php: // Format text area for display. $filters = array('term_description'); foreach ( $filters as $filter ) { add_filter($filter, 'wptexturize');...

View Article

nathanielstern on "get rid of p tags in category_description"

worked a charm! thank you!

View Article
Browsing all 48 articles
Browse latest View live




Latest Images