Those functions are useful, but not exactly what I need. Basically, I need to get the page which would be sent to website visitor. Meaning that I need to get the page content AND the template.
For eg. lets assume I have two AP pages created
example.com/page1
example.com/page2
Now I need to make a template for page1 which would also display page 2 with its content. So visitor would see both pages on one page.
I hope it’s more clear now, if not please ask.