Custom page with cornerstone header/footer

Is there a way to use the header and footer built in cornerstone but use a custom php file for the page contents?

Hello @KaitlynPayne,

Thanks for writing to us.

Regretfully there is no option for that at the moment, it would require custom development I would suggest you consult a developer who can assist you with your concern or you can subscribe to One where the customization questions are answered.

Please note that we don’t provide custom development support. It is out of the support scope.

Thanks for understanding

If I understood correctly. I have done this. basically, I wrote my JS code on the side, and inside a full-width DIV, I added my code from the element.

Hey All,

Thank you for chiming in, we really appreciate your input.

Cheers!

Thanks to you both! I am a developer, I just wasn’t sure if there was built in functionality to use the header/footer but import a different page. @rcbarros Using a raw element and dropping my code in is what I did, but that wouldn’t work with custom PHP. I was hoping there was a solution for that, but it appears not.

Hi @KaitlynPayne,

The Raw Content element does not allow you to add the PHP code and there is no such element that allows this. But you can use the custom shortcode to get the output of the specific function called on a specific shortcode. I would suggest you go through the following article on this.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.