Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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

    #403041

    Hey 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!
    Elliott

    #409954

    Dear Elliott,
    the only tag accepted there is the tag .
    Every other formatting, even <p align=”center”>aaaaa

    is stripped away and will remain only
    aaaaa

    #409957

    PS
    We have changed permalinks settings so the indicated category doesn’t exist enymore

    please see

    http://naturalnicheperfume.com/en/perfumes/olfactory-jewels/the-scents-of-the-soul/

    #410571

    Hey!

    Send us a WordPress login and we’ll take a closer look.

    Regards,
    Elliott

    #412033
    This reply has been marked as private.
    #412556

    Hi!

    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,
    Elliott

    #412908

    I 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
    Mauro

    #413376

    Hey!

    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,
    Ismael

    #413548

    This 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

    #413550

    This 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.

    #414639

    Hi!

    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.
    #414671

    The plugin is working so I would not worry about it.
    Thank you Mauro

    #415047

    Hey!

    Great, glad you got it working. Please let us know if you have any additional questions.

    Regards,
    Rikard

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.