Thank you. The last code seemed to work. I haven’t found any problems so far. Thanks again.
Hey Vladimir,
When I pasted the above snippets, the codes did disappear from the excerpts on the search results but unfortunately, some of my woocommerce pages like the ‘cart page’, ‘my account’ page, and the ‘checkout’ page went blank. If I am not mistaken, the woocommerce shortcodes stopped working on them pages, when the snippets were used. Once I deleted the above snippets from the function.php, the cart, checkout and account page started working like normal.
Is there anything else I can do?
Thank you so much for your help.
Awesome. That worked. Thank you so much.