I currently have a custom shortcode I did myself that queries a custom table in MySQL to retrieve custom data. I have obviously modified the theme to achieve that.
I am trying to see how to implement this small functionality with GeneratePress. Do I have to create a child theme?
See the link included. The Investment Data is a shortcode with embedded shortcode that queries the database for each fields. I use the Shortcoder plugin from within WordPress and that works well and it allows for embedded shortcodes but I had to write the php code in the theme files due to the database queries I made. I was hoping the custom hooks could come in handy as a way to do a custom shortcode with php.
Loving the theme so far and would love an easy way to do this.
PS if not possible, can this be a feature? It seems that it would easily fit inside your current model with the premium plugin 🙂
if i understand correctly then a Child Theme is the way to go, just add your shortcode function to the child theme funtions.php. We cover Child Themes here which also includes a link to a blank child theme: