/ Published in: PHP

Función php para reemplazar palabras dentro de los post de WordPress.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function reemplazar_palabras($cadena){ 'php' => '<a href="http://www.php.net/">php</a>', 'jquery' => '<a href="http://jquery.com/">jquery</a>', 'wordpress' => '<a href="http://es.wordpress.org/">wordpress</a>' ); return $cadena; } add_filter('the_content', 'reemplazar_palabras');
URL: http://www.bufa.es/wordpress-reemplazar-palabras/
Comments
