We need assistance finding a solution to the problem listed below. I will detail our current issue and propose a solution. This solution is only a suggestion, and we are open to other solutions.

Problem background:
We are using a split-testing plugin, Nelio AB testing. Unfortunately, the plugin doesn’t support split-testing Kadence Elements. For the plugin to split-test, it needs to test an element that behaves like a regular page or post and not embedded content.

Proposed solution:
If we can apply the Kadence Element that we’re looking to test to a second (duplicate) post template we can then split-test the two post templates against each other, in effect split-testing the two Kadence Elements.

Problem with the proposed solution:
Kadence Elements can only be applied to the ‘Default Template’ or a template created in WordPress FSE (which isn’t supported by Kadence, so it creates its own issues).

For example:
Second Post template in PHP (‘Second Template’): https://app.screencast.com/RhDZg5E8NEjuf
Kadence Element cannot be applied to ‘Second Template’: https://app.screencast.com/6ItOCfPY4aNxh

Questions:
Can we use PHP and Kadence Element Hooks to force the ‘Second Template’ duplicate template to display the content from a specific Kadence Element?

Posted On: August 20, 2024 05:23 UTC
Category: Full Stack Development
Skills:PHP, WordPress

Country: United States

click to apply

Powered by WPeMatico