Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor royho

    (@royho)

    If you’re referring to the standard categories widget that comes with WooCommerce plugin, I am not sure if it has that option. If it doesn’t, then you would need to extend your own widget to add the description in.

    If you go to the WordPress codex, they have a detailed article on how to extend the widget class and how to build it. You just need to extend it off of the WooCommerce categories widget so you inherit all the functions from it and add your description in.

    I am sorry if this is not detailed enough as I can only provide you an idea. The rest would be up to you.

    Thread Starter amoric69

    (@amoric69)

    and with php ?

    Plugin Contributor royho

    (@royho)

    Yes this is done with PHP.

    Thread Starter amoric69

    (@amoric69)

    so I find <?php echo category_description( $category_id ); ?>
    but with Woocommerce functions it’s an another thing like and where I place it ?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dispay categories descriptions’ is closed to new replies.