Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1214836
    pixelboss1
    Participant

    Greetings from Pixel Boss!

    I’m having a problem regarding the “Search” feature in the new X-Theme. Pixel Boss is a stock photography site and we use WooCommerce to showcase our images. Each photo on our site is incorporated into a “Product” page.

    We seem to be having a major problem with raw HTML showing up in our search results. When customers use the search field, a list of photos shows up. Beneath each photo, the user sees a bunch of raw HTML which is generated from the “Short Description” panel. I have included a screen capture to illustrate this problem.

    This is definitely something we need to fix in a hurry! Our customers are looking at a bunch of raw code when they use our search feature to find photographs. Any help would be most appreciated.

    __________________________________

    http://www.pixelbossmedia.com

    X Theme 4.6.4

    #1214845
    pixelboss1
    Participant

    Sorry, got an error message for exceeding upload file size. Let’s try this again…

    #1214850
    pixelboss1
    Participant
    This reply has been marked as private.
    #1215142
    Rupok
    Member

    Hi there,

    Thanks for writing in! You are not supposed to use shortcodes within the Product Short description, it should contain plain text because it will be shown on search result and if you share your product on social media. You can use shortcode there but at least some of the text at first should be plain text so that it comes up in search result and social share as a short summary. You can use the product description area to place any text, shortcode you want.

    However I can help you to hide them from search result but I’d suggest you to use plain text first and then the shortcodes.

    Let’s add this under Custom > CSS in the Customizer.

    .search-results .product .entry-content.excerpt {
      display: none;
    }

    Hope this helps.

    #1215301
    pixelboss1
    Participant
    This reply has been marked as private.
    #1215661
    Lely
    Moderator

    You’re welcome Lewis!

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1214836 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>