Hi James,
Thank you for your reply. I tried the code you provided but when I copied and pasted it into the functions.php, it produced an error at the first line where php is declared.
I tried it without <?php tag and it didn’t have an error but it didn’t work when I put tried the shortcode on the post. Am I missing something?
Thanks for assisting!