Is there a way to apply a GP Layout to all posts that have been created before a specific date?
Background: As part of a themeswitch (genesis + WPBakery –> GP), I want to utilise the standard theme sidebar functionality. In the old theme the sidebar was part of the post (wpbakery template). So the plan is to have the default layout (with sidebar) for posts created from now on (with generatepress) while showing a layout without sidebar for posts created with the old theme.
Would be great if you could help me with that.
Thanks in advance
thank you very much for this. Sounds like a smart solution.
As far as I know vc_enabled_frontend() just returns true if the WPBakery FrontendEditor is activated, but I will follow your howto and make the post date the second condition.