Hi,
I have just switched my client to the Vantage theme and it is working well except for certain custom meta items being added to single product pages. This is either ’embed’ or ‘vantage_panels_no_legacy: true’.
I have tried using the following css to remove custom_meta but this is not working:
.custom-meta {
display:none !important;
}
The single product page starts off with just ’embed’ showing and I have tried deleting the metadata ’embed’ on the product page itself but it comes back after saving the page as ‘vantage_panels_no_legacy: true’. If I delete this it just comes back again after saving.
My client is using WP eCommerce.
Can you help please?.
Hi Margaret,
Do you have a public URL where we can take a look at what’s outputting this data on the frontend?
Hi Alex,
Thank you for the fast response. I have already removed the meta data showing on the single product pages from the data base. It is added to anything new though and I have created a new product to illustrate this:
http://www.blastsfromthepast.co.uk/products-page/board-games-and-table-games/blasts-domino-building-game/
You will see the meta data added: vantage_panels_no_legacy: true.
Hope you can help with this.
Hi Alex,
Since I replied I have managed to find the right css code to remove the meta data:
div.custom_meta{display:none!important;}
The original code I tried was incorrect:
.custom-meta {display:none !important;}
Have removed the code temporarily so that you can see the meta added.
Hi Margaret,
Great to hear you managed to hide the meta.
vantage_panels_no_legacy is added to allow for the modern SiteOrigin Page Builder interface. It is avoidable, but it’s not something we would recommend removing as it may result in issues.
Regardless, you can remove it by adding some PHP to your website. If you don’t have a method of adding PHP, please install Code Snippets. Please navigate to WP AdminSnippetsAdd New and add the following PHP:
Click Save Changes & Activate. This PHP isn’t retroactive so you’ll need to update all previously created pages and manually remove the meta. This PHP will prevent this meta from being added to future posts and allow for removal of the meta.
Thank you so much for the PHP code Alex but I think just hiding the meta is the safest option.
Hi Margaret,
I agree. Let me know if you run into any issues with hiding the meta in the future.