Can't access the Front Matter Params of a taxonomy page from within a Shortcode

Have a read about Requesting Help to see how to make it easier to get help:

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.