Tagged: x
-
AuthorPosts
-
October 13, 2016 at 10:27 am #1214836
pixelboss1ParticipantGreetings 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.
__________________________________
X Theme 4.6.4
October 13, 2016 at 10:30 am #1214845
pixelboss1ParticipantSorry, got an error message for exceeding upload file size. Let’s try this again…
October 13, 2016 at 10:32 am #1214850
pixelboss1ParticipantThis reply has been marked as private.October 13, 2016 at 1:58 pm #1215142
RupokMemberHi 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.
October 13, 2016 at 4:44 pm #1215301
pixelboss1ParticipantThis reply has been marked as private.October 13, 2016 at 10:33 pm #1215661
LelyModeratorYou’re welcome Lewis!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1214836 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
