Home › Forums › WoodMart support forum › Search results not rendering shortcodes
Search results not rendering shortcodes
- This topic has 5 replies, 2 voices, and was last updated 2 years, 11 months ago by
Luke Nielsen.
-
AuthorPosts
-
December 7, 2022 at 5:33 pm #427098
KasParticipantHello,
Because a lot of my products have the same description I use HTML blocks to create one description and then place that shortcode in multiple products.
The problem is that the search results show the shortcode itself and not its contents.
Is there a way to fix this?Thank you
Attachments:
You must be logged in to view attached files.December 8, 2022 at 12:50 pm #427289
Luke NielsenMemberHello,
Most likely, this area doesn’t display the shortcodes. Please check it with the default WordPress theme like WooCommerce Storefront, just to check whether the issue is with our theme or not.
I await your response.
Kind Regards
December 8, 2022 at 2:09 pm #427332
KasParticipantI installed the storefront theme and yes, the shortcodes were hidden. So it is not possible for woodmart to show them?
Attachments:
You must be logged in to view attached files.December 8, 2022 at 4:35 pm #427384
Luke NielsenMemberHello,
Please change the style of products for enabling there the HTML BLock in Theme Settings -> Product archive -> Products style (check the below screensgot).
Then recheck the issue.
Kind Regards
December 8, 2022 at 4:44 pm #427389
KasParticipantNo, this only changes the product blocks on the shop page, but the search results page has an entirely different design. Changing settings in Theme Settings -> Product archive -> Products style does nothing on the search results page.
Attachments:
You must be logged in to view attached files.December 8, 2022 at 6:48 pm #427431
Luke NielsenMemberHello,
The thing is that the search page shows products as articles from the blog page so there is not working the product style. Also, I see that you are using the search from Elementor so I suggest you use our default search instead of Elementor’s and check there the issue again.
Kind Regards
-
AuthorPosts
Tagged: search results, shortcodes
- You must be logged in to create new topics. Login / Register
