Double Question and Meta Info in Oxygen Builder
I’m using oxygen builder with anspress, I’m facing an issue with the question shortcode, It shows double question and meta info, see screenshot, I tried several ways but no success, I tried to disable oxygen, then it works well. Is there any solution for this in oxygen builder?
Rahul Aryan Answered question
Hello,
AnsPress is not tested with oxygen builder. But if you can edit single question item template and add below code then it’ll prevent it to show nested HTML
global $ap_shortcode_loaded; // Check if AnsPress shortcode already loaded. $ap_shortcode_loaded = true;
You can also check how AnsPress prevent nesting in shortcode here:
https://github.com/anspress/anspress/blob/8f8f1eb0ca8aaecef2d82334660035324c303e4b/includes/shortcode-basepage.php#L61
Rahul Aryan Answered question