Como introducir código de ejemplo en nuestros post de wordpress

1 Star2 Stars3 Stars4 Stars5 Stars

Como introducir código de ejemplo en nuestros post de wordpress

Como introducir código de ejemplo en nuestros post de wordpress.
Cuando escribimos un post de ayuda explicando alguna utilidad de wordpress, o de cualquier otra aplicacion, y necesitamos incluir en el post codigo de ejemplo para poder explicar correctamente la funcion, o simplemente pra que los lectores puedan visualizarlo correctamente o incluso copiarlo, existe un plugin llamado:
 iG:Syntax Hiliter v3.5
el cual nos permite incluir codigo del tipo que sea en nuestros post sin peligro de que este se deforme o se ejecute.
En este videotutorial explico en modo de ejmplo como instalarlo y utilizarlo.
Las etiquetas predeterminadas que se pueden utilizar para incluir el codigo en los post, son las siguientes:

CODE:
  1. The [as] & [/as] tags are for hiliting ActionScript Code. You have to place your
  2. ActionScript code in between them.
  3. The [asp] & [/asp] tags are for hiliting ASP Code.
  4. The [c] & [/c] tags are for hiliting C Code.
  5. The [cpp] & [/cpp] tags are for hiliting C++ Code.
  6. The [csharp] & [/csharp] tags are for hiliting C# Code.
  7. The [css] & [/css] tags are for hiliting CSS Code.
  8. The [delphi] & [/delphi] tags are for hiliting Delphi Code.
  9. The [html] & [/html] tags are for hiliting HTML Code.
  10. The [java] & [/java] tags are for hiliting JAVA Code.
  11. The [js] & [/js] tags are for hiliting JavaScript Code.
  12. The [mysql] & [/mysql] tags are for hiliting MySQL specific SQL.
  13. The [perl] & [/perl] tags are for hiliting Perl Code.
  14. The [php] & [/php] tags are for hiliting PHP Code.
  15. The [python] & [/python] tags are for hiliting Python Code.
  16. The [ruby] & [/ruby] tags are for hiliting Ruby Code.
  17. The [smarty] & [/smarty] tags are for hiliting Smarty Code.
  18. The [sql] & [/sql] tags are for hiliting SQL Code.
  19. The [vb] & [/vb] tags are for hiliting Visual Basic Code. TIP:- You can use the [vb] & [/vb] tags for hiliting VBScript Code too.
  20. The [vbnet] & [/vbnet] tags are for hiliting VB.NET Code.
  21. The [xml] & [/xml] tags are for hiliting XML Code.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Leave a Reply

Categorias