WooCommerce - excelling eCommerce
Removing short description from search results (1 post)

  1. webrightnow
    Posted 1 year ago #

    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?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.