Support » Plugin: Widgets on Pages » Woocommerce Category and Tag Description short code not working

  • I have tried the short code [widgets_on_pages id=1] on woocommerce category description and tag description fields. Page will not load after inserting short code, just blank. I tested the short code on a regular page and it works perfect. Is this supposed to work the way I tried? Is there anything I can do to make this work?
    I thought maybe something like this could help, but no success ether:
    functions.php
    add_filter( ‘product_tag_description’, ‘do_shortcode’ );

    add_filter( ‘product_cat_description’, ‘do_shortcode’ );

    • This topic was modified 10 months, 1 week ago by  daspi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Hi @daspi,

    I believed that Widgets on Pages worked find with WooCommerce, though in full honesty I don’t run WooCommerce myself and have limited knowledge of it.

    I’ll raise this as a issue and item to look at in the near future.

    One question, does the shortcode work on other WooCommerce pages?

    Just tested on a product page and it works. But it has no use for me at the product level as I want to add a custom navigation menu at the category level. If you could look into it would be great. Sure would help others too.

    Maybe have a look at this solution. Maybe this gives us a hint on how to go about it?
    https://webgilde.com/en/shortcode-not-working-category-description/

    • This reply was modified 10 months, 1 week ago by  daspi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce Category and Tag Description short code not working’ is closed to new replies.