So I am currently in the process of making a pricebox widget for the SiteOrigins Pagebuilder but have come across an issue. I have a field for features and then a button underneath that says Add Features and when clicked it adds a new field. I therefore am saving all these features in to an array which when being used in the normal theme widget area works perfectly.
The problem is though that SiteOrigins doesn’t seem to show the array value as if it resets it each time. The array is being saved to $instance[‘fields’] because it is outputting on the site but then when I go back to edit the price box through the sitebuilder the field is empty.
Anyone got any ideas on what I can try or is able to help me out by taking a look at my code quickly? I have pastebinned the code below so you can see ithttp://pastebin.com/ThKe2cMR
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.