php code (not shortcode) for inserting fundraising panel into a page template

I am trying to bring fundraising data into the archive page list so that along with a thumbnail and excerpt of the fundraiser, it brings in maybe the progress bar or number of backers etc.
where can I find the php code that I need to put into the archive.php file?
I can bring in the thumbnail and excerpt, just need the php equivalent of the shortcode.