Suporte » Desenvolvendo com WordPress » como Mudar Rodapé codificado?

  • o footer do meu tema vei codificado como eu mudo?

    <?php eval(base64_decode(‘Pz4gPC9kaXY+PCEtLSB3cmFwIGVuZHMgaGVyZSAtLT4JDQoNCg0KDQo8IS0tIGZvb3RlciBzdGFydHMgaGVyZSAtLT4JDQoNCgk8ZGl2IGlkPSJmb290ZXIiPg0KDQoJCTxkaXYgaWQ9ImZvb3Rlci1jb250ZW50Ij4NCg0KCQkNCg0KCQkJPD9waHAgdGhlX3RpbWUoJ1knKTsgPz4gPD9waHAgYmxvZ2luZm8oJ25hbWUnKTsgPz4gLiAgV29yZFByZXNzIC4gPD9waHAgaWYoaXNfZnJvbnRfcGFnZSgpKSB7ICRjcCA9IHdwX2NvdW50X3Bvc3RzKCdwb3N0Jyk7ICRjcHAgPSAkY3AtPnB1Ymxpc2g7IGlmICgkY3BwPT0wKSB7JGNwID0gd3BfY291bnRfcG9zdHMoJ3BhZ2UnKTsgJGNwcCA9ICRjcC0+cHVibGlzaDt9ICBpZiggJGNwcCA+IDEwKSA6ID8+PGEgaHJlZj0iaHR0cDovL3dvcmRwcmVzc3RoZW1lc2ZvcmZyZWUuY29tLyIgdGl0bGU9IldvcmRwcmVzcyB0aGVtZXMiPldvcmRwcmVzcyB0aGVtZXM8L2E+PD9waHAgZW5kaWY7IH0gPz4NCg0KIDwvZGl2PgkNCg0KCTw/cGhwIHdwX2Zvb3RlcigpOyA/Pg0KDQoJPC9kaXY+DQoNCjwhLS0gZm9vdGVyIGVuZHMgaGVyZSAtLT4JDQoNCgkNCg0KPC9ib2R5Pg0KDQo8L2h0bWw+IDw/’));?>

Visualizando 1 resposta (de um total de 1)
  • Troquei o eval por um print:
    <?php print(base64_decode('Pz4gPC9kaXY+PCEtLSB3cmFwIGVuZHMgaGVyZSAtLT4JDQoNCg0KDQo8IS0tIGZvb3RlciBzdGFydHMgaGVyZSAtLT4JDQoNCgk8ZGl2IGlkPSJmb290ZXIiPg0KDQoJCTxkaXYgaWQ9ImZvb3Rlci1jb250ZW50Ij4NCg0KCQkNCg0KCQkJPD9waHAgdGhlX3RpbWUoJ1knKTsgPz4gPD9waHAgYmxvZ2luZm8oJ25hbWUnKTsgPz4gLiAgV29yZFByZXNzIC4gPD9waHAgaWYoaXNfZnJvbnRfcGFnZSgpKSB7ICRjcCA9IHdwX2NvdW50X3Bvc3RzKCdwb3N0Jyk7ICRjcHAgPSAkY3AtPnB1Ymxpc2g7IGlmICgkY3BwPT0wKSB7JGNwID0gd3BfY291bnRfcG9zdHMoJ3BhZ2UnKTsgJGNwcCA9ICRjcC0+cHVibGlzaDt9ICBpZiggJGNwcCA+IDEwKSA6ID8+PGEgaHJlZj0iaHR0cDovL3dvcmRwcmVzc3RoZW1lc2ZvcmZyZWUuY29tLyIgdGl0bGU9IldvcmRwcmVzcyB0aGVtZXMiPldvcmRwcmVzcyB0aGVtZXM8L2E+PD9waHAgZW5kaWY7IH0gPz4NCg0KIDwvZGl2PgkNCg0KCTw/cGhwIHdwX2Zvb3RlcigpOyA/Pg0KDQoJPC9kaXY+DQoNCjwhLS0gZm9vdGVyIGVuZHMgaGVyZSAtLT4JDQoNCgkNCg0KPC9ib2R5Pg0KDQo8L2h0bWw+IDw/'));?>

    E ele renderizou isso:

    ?> </div><!-- wrap ends here -->
    <!-- footer starts here -->
    	<div id="footer">
    		<div id="footer-content">
    			<?php the_time('Y'); ?> <?php bloginfo('name'); ?> .  WordPress . <?php if(is_front_page()) { $cp = wp_count_posts('post'); $cpp = $cp->publish; if ($cpp==0) {$cp = wp_count_posts('page'); $cpp = $cp->publish;}  if( $cpp > 10) : ?><a href="http://wordpressthemesforfree.com/" title="Wordpress themes">Wordpress themes</a><?php endif; } ?>
    	</div>
    	<?php wp_footer(); ?>
    	</div>
    <!-- footer ends here -->
    </body>
    </html> <?

    Coloca o nome do tema como tag por favor!

    Abs

Visualizando 1 resposta (de um total de 1)
  • O tópico ‘como Mudar Rodapé codificado?’ está fechado para novas respostas.