login to magento admin. Open any cms page and write block code in content section.
{{block class=”MagentoFrameworkViewElementTemplate” name=”test_file” template=”Magento_Theme::test.phtml”}}
After using the block code phtml file will be called on cms page but after Footer.
How can we call before footer