I've created a set of custom tags that go inside their own wrapper (see example below & there can be many different tags on a page at once) that I'm trying to find the best method for getting the tags and their info, and easiest for the server to process.
All the content I've been able to find on this is dated a few years at least and I figured maybe someone in the community would have ideas to help point me in a better direction.
[sl_heading tag='h3' padding='10' heading='Our Most Recent Posts' color='' style='' size='' subheading_active='' subheading_size='15' custom_class=''][/sl_heading ]
[sl_posts posts_type='general' categories='24' link='category' posts_style='posts-grid' columns='4' contents='title_read_more' content_length='excerpt_read_more' preview_mode='auto' image_size='thumbnail' items='-1' offset='0' paginate='no']
So basically what I'm trying to do is the editor saves this to the database, and I'm trying to efficiently and quickly parse this out to the proper code on the website side. So my method is detecting the tag, determine what it is and what the tag values are, and show the proper HTML code in return.
I've already got everything but the parsing out the code part done, and I'm stuck on how to properly search and find the tags and their values effectively.
PS. Any help is appreciated, and I've searched through a lot of SO posts so what I'm trying to do hasn't been asked about in years (outdated posts) for what I can only understandably assume were much earlier versions of PHP.