
<script  language='javascript' type='text/javascript'>
	
	if(window.location.href.indexOf('wp-') === -1){
    setTimeout(() => {

		console.log('RPS Print Load');
        let e = document.getElementsByClassName('entry-meta')[0];
        let bt = document.createElement('button');
        bt.innerText = 'PDF';
        bt.id = 'btnImprimir';
        bt.onclick = CriaPDF;
        if(e) e.appendChild(bt);

    }, 500);
}
	
    function CriaPDF() {
        var conteudo = document.querySelector('[id^=post-]').innerHTML;
        var style = '<style>';
        // style = style + '.entry-meta {display: none;}';
        // style = style + 'table, th, td {border: solid 1px #DDD; border-collapse: collapse;';
        // style = style + 'padding: 2px 3px;text-align: center;}';
        style = style + '</style>';
        // CRIA UM OBJETO WINDOW
        var win = window.open('', '', 'height=700,width=700');
        win.document.write('<html><head>');
        win.document.write('<title>Verbete</title>'); // <title> CABEÇALHO DO PDF.
        win.document.write(style); // INCLUI UM ESTILO NA TAB HEAD
        win.document.write('</head>');
        win.document.write('<body>');
        win.document.write(conteudo); // O CONTEUDO DA TABELA DENTRO DA TAG BODY
        win.document.write('</body></html>');
        win.document.close(); // FECHA A JANELA
        win.print(); // IMPRIME O CONTEUDO
    }
</script>

<script  language='javascript' type='text/javascript'>
	
	if(window.location.href.indexOf('wp-') === -1){
    setTimeout(() => {

		console.log('RPS Print Load');
        let e = document.getElementsByClassName('entry-meta')[0];
        let bt = document.createElement('button');
        bt.innerText = 'PDF';
        bt.id = 'btnImprimir';
        bt.onclick = CriaPDF;
        if(e) e.appendChild(bt);

    }, 500);
}
	
    function CriaPDF() {
        var conteudo = document.querySelector('[id^=post-]').innerHTML;
        var style = '<style>';
        // style = style + '.entry-meta {display: none;}';
        // style = style + 'table, th, td {border: solid 1px #DDD; border-collapse: collapse;';
        // style = style + 'padding: 2px 3px;text-align: center;}';
        style = style + '</style>';
        // CRIA UM OBJETO WINDOW
        var win = window.open('', '', 'height=700,width=700');
        win.document.write('<html><head>');
        win.document.write('<title>Verbete</title>'); // <title> CABEÇALHO DO PDF.
        win.document.write(style); // INCLUI UM ESTILO NA TAB HEAD
        win.document.write('</head>');
        win.document.write('<body>');
        win.document.write(conteudo); // O CONTEUDO DA TABELA DENTRO DA TAG BODY
        win.document.write('</body></html>');
        win.document.close(); // FECHA A JANELA
        win.print(); // IMPRIME O CONTEUDO
    }
</script>
{"id":3132,"date":"2024-05-02T07:20:06","date_gmt":"2024-05-02T10:20:06","guid":{"rendered":"https:\/\/teologicalatinoamericana.com\/?page_id=3132"},"modified":"2024-05-02T07:20:06","modified_gmt":"2024-05-02T10:20:06","slug":"contact-2","status":"publish","type":"page","link":"https:\/\/teologicalatinoamericana.com\/?page_id=3132","title":{"rendered":"Contact"},"content":{"rendered":"<p>Teologica Latino America &lt;tla@teologicalatinoamericana.com&gt;<\/p>\n<p>Teologica &lt;teologica@teologicalatinoamericana.com&gt;<\/p>\n<p>Theologica &lt;theologica@faculdadejesuita.edu.br&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Teologica Latino America &lt;tla@teologicalatinoamericana.com&gt; Teologica &lt;teologica@teologicalatinoamericana.com&gt; Theologica &lt;theologica@faculdadejesuita.edu.br&gt;<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":6,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-3132","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/pages\/3132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3132"}],"version-history":[{"count":1,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/pages\/3132\/revisions"}],"predecessor-version":[{"id":3133,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/pages\/3132\/revisions\/3133"}],"wp:attachment":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}