I have built the following Wordpress website: https://bofin.com/terms-conditions/
My client wants to embed this terms and conditions page in an app so that we only ever have one copy to update. BUT we need to be able to remove the website header and footer when it is displayed in the app.
Any thoughts?
I have found this script but I am not sure what steps I need to take to implement it and what I need to add to include excluding the footer.
<script>
$(document).ready(function(){
var url = window.location.href;
if(url.search('inapp=true') === true){
$('header').css('display', 'none');
}
});
</script>