-
AuthorPosts
-
February 26, 2015 at 5:53 pm #402846
I would like to display a textual description in product category page to explain what is all about in that category before the product images.
From wordpress backoffice toy can add a text to a product category but it doesn’t offer any formatting possibility and you cannot add a link or an image
Please see http://naturalnicheperfume.com/en/product-category/olfactory-jewels/the-scents-of-the-soul/Ps.
Maybe someone already asked this question but the search facility is neary useless because it does not allow to filter the result to only your theme and it displays very long text hard to scroll. It would be better to display only the Topic title.Thank you Mauro
February 26, 2015 at 10:42 pm #403041Hey profumopuntoit!
Your setting the description for the product category in Dashboard > Products > Categories > Edit correct? You should be able to place HTML in there. To display a link or an image with HTML you can do this.
<a href = "http://www.yoursite.com"><img src = "http://www.yoursite.com/image.jpg" /></a>
Cheers!
ElliottMarch 11, 2015 at 4:56 pm #409954Dear Elliott,
the only tag accepted there is the tag .
Every other formatting, even <p align=”center”>aaaaa
is stripped away and will remain only
aaaaaMarch 11, 2015 at 5:00 pm #409957PS
We have changed permalinks settings so the indicated category doesn’t exist enymoreplease see
http://naturalnicheperfume.com/en/perfumes/olfactory-jewels/the-scents-of-the-soul/
March 12, 2015 at 4:50 pm #410571Hey!
Send us a WordPress login and we’ll take a closer look.
Regards,
ElliottMarch 16, 2015 at 11:53 am #412033This reply has been marked as private.March 16, 2015 at 8:44 pm #412556Hi!
Hmm, yes it seems like when you try and save an image in that description it doesn’t do anything.. just strips it out. Which is weird because it’s working on my XAMPP setup.
Try it again when all plugins are deactivated except the main WooCommerce plugin. If it doesn’t save there either then try contacting WooCommerce support about this to see what they say.
Regards,
ElliottMarch 17, 2015 at 1:19 pm #412908I tried with all plugin disactivated and also with Twenty Fifteen theme but the problem remain.
I tried also with the theme Storefront suggested by WooThemes.
I will try to contact WooThemes support
Thank you anyway
MauroMarch 18, 2015 at 5:18 am #413376Hey!
I hope you figure it out. I also tried it on my installation and the category description field accepted html tags. We’ll keep the thread open. Please share any info regarding the issue.
Regards,
IsmaelMarch 18, 2015 at 12:18 pm #413548This is the answer of WooCommerce
###########
The HTML in the category description is removed by default by WordPress, not WooCommerce. So it’s the core behaviour.
You can fix this with this plugin probably: https://wordpress.org/plugins/allow-html-in-category-descriptions/
I never used it before, but seems to work from its ratings.
############I tried the plugin and it works.
If it is so how can html tags be accepted in your local installation? In my installation only the tag a (aaaaa) was allowed and all the other tags were stripped out
Thank you Mauro
March 18, 2015 at 12:21 pm #413550This is the description of what this plugin does:
When you add text to the category description textarea and save the category, WordPress runs content filters that strips out all but the most basic formatting tags.
This plugin disables those filters. Any html code you add to the category description will not be stripped out.
This plugin does not do anything other than disable the filters. It does not protect you from entering invalid HTML, nor does it help you create WYSIWYG HTML. You can use the post or page composing screen to help you create the text and formatting. Switch to the ‘code’ tab and copy the HTML code into the category description field.
March 19, 2015 at 5:07 pm #414639Hi!
Not sure why it’s different on your end. Did you install WordPress manually or use a one click install with your hosting provider?
Perhaps reinstalling WordPress would help. Or if the plugin is working for you then I would not worry about it.
Cheers!
Elliott- This reply was modified 9 years, 8 months ago by Elliott.
March 19, 2015 at 5:37 pm #414671The plugin is working so I would not worry about it.
Thank you MauroMarch 20, 2015 at 6:19 am #415047 -
AuthorPosts
- You must be logged in to reply to this topic.