Unyson Framework Conflict
-
When using your shortcode I’m getting an error with the Unyson framework. I believe the shortcodes are clashing. It has trouble when hitting the “foreach” line below. Is there an easy way for me to change your shortcode?
Thank you,
House – Donor/** @var FW_Extension_Shortcodes $shortcodes */
$shortcodes = fw_ext(‘shortcodes’);$coder = $shortcodes->get_attr_coder(‘json’);
foreach ($attr[‘table’][‘rows’] as $ri => $row) {
if (‘button-row’ !== $row[‘name’]) {
continue;
}foreach ($attr[‘table’][‘content’][$ri] as $row) {
if (!isset($row[‘button’])) {
return;
}$atts_string = ”;
foreach (
$coder->encode($row[‘button’], $this->get_button_shortcode_tag(), 0)
as $attr_name => $attr_val
) {
$atts_string .= $attr_name .’=”‘. $attr_val .'” ‘;
}
The topic ‘Unyson Framework Conflict’ is closed to new replies.