@michintos I have found a solution,
(function ($) {
try {
if (parent.CP_Customizer) {
parent.CP_Customizer.addModule(function (CP_Customizer) {
var sectionPanel = parent.CP_Customizer.panels.sectionPanel;
console.log('Registering new setting');
sectionPanel.registerArea('My custom settings', {
init: function ($container) {...}
...
);
}
});
});
}
} catch (e) {
console.log(e);
}
})(jQuery);
Modify your section / settings as you wish
enjoy
-
This reply was modified 5 years, 4 months ago by vicou96.
-
This reply was modified 5 years, 4 months ago by vicou96.
-
This reply was modified 5 years, 4 months ago by vicou96.