Support » Plugin: WooCommerce » Removing short description from search results

  • I installed Woocommerce for a client and he decided to use the short description field to insert a bunch of images with captions – don’t ask why, as far as I am concerned as long as he is happy, he is the boss. I used another plugin to add rich text editing to the short description field.

    The site is now filled with products and each description field has tens of images and captions. I have only just realised that the short description field pops up in search results. Unfortunately, so do all the images and caption tags that go with it (the tags are not even rendered so you just get the shortcode).

    I need to add a filter to the functions.php file to remove the short description field from search results, or at least to strip the caption shortcode. Can anyone help with this?

    Thanks!

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘Removing short description from search results’ is closed to new replies.