Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML in Product Category Description - Does not work with "Post Name" Permalinks #1253

Closed
richangel opened this issue Jul 13, 2012 · 6 comments

Comments

@richangel
Copy link

Hi everybody, hi Mike,

I have found the following bug/issue:

I'd like to add an image into my woocommerce product category description (I have also found this post which allows html in the product categories: http://wcdocs.woothemes.com/snippets/allow-html-in-term-category-tag-descriptions/)

This all works perfectly when having selected "default" permalink setting in wordpress.

However, when I now switch to "Post Name" permalinks, the html/image is removed from the category description (the code is not shown as text, so I assume woocommerce still recognizes it, but there must be an issue with the post name permalinks). I have also created a new category (after having switched to post name permalinks, but still same issue). Regular text does get displayed, solely html does not ;(

I Hope you can help me out...as I have said, since the html code does not appear as regular text woocommerce must identify it as html...so I hope the fix is not too complicated.

Thanks a lot for all your support,
Rich

@richangel
Copy link
Author

Any idea, anyone? Has anybody experienced this bug before or is it just me?

Thanks a lot,
Rich

@mikejolley
Copy link
Member

I just tested html in descriptions with no issues. Something else must be affecting it.

Try regular post categories - they would have the same problem as this is a wordpress solution, not woocommerce.

@richangel
Copy link
Author

I apologize - I didn't notice that other images were not showing as well! For others with the same problem: simply add the full url to your images (not solely wp-content/...).

Thanks again,
Rich

@anthonymasure
Copy link

How do you display the category description in a product page ?

@kukac7
Copy link
Contributor

kukac7 commented Apr 22, 2013

+1

@luisfdeandrade
Copy link

up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants