
<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":3345,"date":"2024-07-01T12:46:13","date_gmt":"2024-07-01T15:46:13","guid":{"rendered":"https:\/\/teologicalatinoamericana.com\/?p=3345"},"modified":"2024-07-01T12:46:13","modified_gmt":"2024-07-01T15:46:13","slug":"la-reception-du-concile-vatican-ii-en-amerique-latine-et-dans-les-caraibes-un-apercu-global-de-quelques-points-pertinents","status":"publish","type":"post","link":"https:\/\/teologicalatinoamericana.com\/?p=3345","title":{"rendered":"La r\u00e9ception du Concile Vatican II en Am\u00e9rique latine et dans les Cara\u00efbes. Un aper\u00e7u global de quelques points pertinents."},"content":{"rendered":"<p>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1131],"tags":[],"class_list":["post-3345","post","type-post","status-publish","format-standard","hentry","category-histoire-de-la-theologie-et-du-christianisme"],"_links":{"self":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/posts\/3345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"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=3345"}],"version-history":[{"count":1,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/posts\/3345\/revisions"}],"predecessor-version":[{"id":3346,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=\/wp\/v2\/posts\/3345\/revisions\/3346"}],"wp:attachment":[{"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teologicalatinoamericana.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}