This support ticket is created vor 5 Jahren, 1 Monat. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
With the last update of toolset a view appears above and below header.
It was working fine but now the same view is duplicated (above and below). The theme is astra. I tested the view with twenty nine theme and happens the same. Now it's with Astra again.
It happens with rank math Seo. If I deactivate it... the website renders the view perfect. I wrote a post in rank math board. I'm waiting for the answer.
I tried yoast seo before... but rank math seo works better.
"I see the issue on your site and it looks like the Rich Snippet is causing the problem. For now, I’ve disabled the Rich Snippet for the Tipologias taxonomy by enabling the Remove Rich Snippet option in Dashboard >> Rank Math >> Titles & Meta >> Tipologias >> Remove Snippet Data. This seemed to have fixed the issue. Can you please confirm?
The Rank Math rich snippet code runs a WordPress loop in the head to add the posts data associated with the category in schema data. Can you please contact the Toolset plugin team and ask them if they are using any WordPress loop filter like loop_start, loop_end to modify the output?"
This is exactly the issue. How our views plugin works is that it hooks into the wordpress content loop, so thats why its hooking into the header as well.
The Rank Math team is perhaps creating another default loop. A recommendation is that they can create a custom function to do their loop instead of the default wordpress one.
The reason is that any plugin that hooks into the default loop will hook into the header as well. For toolset we have the ability to hook into the default loop and into a custom loop as well given that the custom loop has a defined function.
Not much that we can do from our side, however recommending a custom loop be used is the best approach.
However what exactly is in your snippet area? is it some form of custom code that you added or is it something related to the plugin.
Shane... I'll write them again because they marked as solved the problem and it's not solved. This is their previous answer
----
I see the issue on your site and it looks like the Rich Snippet is causing the problem. For now, I’ve disabled the Rich Snippet for the Tipologias taxonomy by enabling the Remove Rich Snippet option in Dashboard >> Rank Math >> Titles & Meta >> Tipologias >> Remove Snippet Data. This seemed to have fixed the issue. Can you please confirm?
The Rank Math rich snippet code runs a WordPress loop in the head to add the posts data associated with the category in schema data. Can you please contact the Toolset plugin team and ask them if they are using any WordPress loop filter like loop_start, loop_end to modify the output?
I can escalate this to our team but it perhaps wont go far since the issue has already been identified with the SEO plugin you are using.
The problem is essentially not ours alone, any plugin that hooks into the wordpress content loop will without a doubt present the same issue so the SEO plugin's author will need to create a permanent fix on their end by using a custom loop output rather than the default one because our plugin relies on this to maintain compatibility with the themes.
So there isn't much that we can do on our side. Also what you can do is to add the suppress_filters="true" value inside your view where it is calling the content template for the view.
There should be something like [wpv-post-body template='my-template' suppress_filters="true]