Como introducir código de ejemplo en nuestros post de wordpress
Posteado el Dia: Noviembre 22, 2008
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:
-
The [as] & [/as] tags are for hiliting ActionScript Code. You have to place your
-
ActionScript code in between them.
-
The [asp] & [/asp] tags are for hiliting ASP Code.
-
The [c] & [/c] tags are for hiliting C Code.
-
The [cpp] & [/cpp] tags are for hiliting C++ Code.
-
The [csharp] & [/csharp] tags are for hiliting C# Code.
-
The [css] & [/css] tags are for hiliting CSS Code.
-
The [delphi] & [/delphi] tags are for hiliting Delphi Code.
-
The [html] & [/html] tags are for hiliting HTML Code.
-
The [java] & [/java] tags are for hiliting JAVA Code.
-
The [js] & [/js] tags are for hiliting JavaScript Code.
-
The [mysql] & [/mysql] tags are for hiliting MySQL specific SQL.
-
The [perl] & [/perl] tags are for hiliting Perl Code.
-
The [php] & [/php] tags are for hiliting PHP Code.
-
The [python] & [/python] tags are for hiliting Python Code.
-
The [ruby] & [/ruby] tags are for hiliting Ruby Code.
-
The [smarty] & [/smarty] tags are for hiliting Smarty Code.
-
The [sql] & [/sql] tags are for hiliting SQL Code.
-
The [vb] & [/vb] tags are for hiliting Visual Basic Code. TIP:- You can use the [vb] & [/vb] tags for hiliting VBScript Code too.
-
The [vbnet] & [/vbnet] tags are for hiliting VB.NET Code.
-
The [xml] & [/xml] tags are for hiliting XML Code.



del.icio.us
blinklist
digg
Facebook
Furl
ma.gnolia
Newsvine
Pownce
reddit
StumbleUpon
Technorati
Twitter