Hello there!
I would like to inform you that shortcodes do work in Custom Post Type templates, I’ve double-checked that. So I assume that it’s a matter of the shortcode that you use. Perhaps it should be used inside your post for it to be rendered properly. In this case, I may suggest you clarify this with a shortcode provider.
I can get simple shortcodes to work where I am inputting something constant like current year, but anything that calls the post info does not work. I am trying to pull a meta field shortcode that is in my function.php page. It works fine on a single post page, but not in the template loop.
Hello @syoung68
I would like to ask you to provide an example of a shortcode, a plugin name that you use, and describe the exact steps to try to reproduce the issue on our side. Thank you!
This seems to be a function of WordPress directly not just your plugin. The same thing happens in a query loop block. The short code is grabbing the post ID of the main page and therefore can not pull a custom meta field inside the loop.