04-23-2017, 01:44 PM
So let's say that you have something in the settings table, column called "type". Just add that as a manual option above the foreach. Like this.
https://pastebin.com/37TkQtwX
https://pastebin.com/37TkQtwX