Double Question and Meta Info in Oxygen Builder

547 viewsGeneraldouble question info oxygen builder
0

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?

Answered question
0

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

Answered question
You are viewing 1 out of 1 answers, click here to view all answers.