Deprecated: Creation of dynamic property wpsh_plugin::$defaults is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 78

Deprecated: Creation of dynamic property wpsh_plugin::$options is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 85

Deprecated: Creation of dynamic property wpsh_plugin::$theme_done is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 92

Deprecated: Creation of dynamic property wpsh_plugin::$gettext_default_done is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 93

Deprecated: Creation of dynamic property wpsh_boot_loader::$pure_init is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 10

Deprecated: Creation of dynamic property wpsh_boot_loader::$memory_limit is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 11

Deprecated: Creation of dynamic property wpsh_boot_loader::$mem_usage_possible is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 14

Deprecated: Creation of dynamic property wpsh_boot_loader::$mem_usage_denied is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 15

Deprecated: Creation of dynamic property wpsh_boot_loader::$exec_denied is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 16

Deprecated: Creation of dynamic property wpsh_boot_loader::$is_windows is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 19

Deprecated: Creation of dynamic property wpsh_boot_loader::$check_points is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 20

Deprecated: Creation of dynamic property wpsh_boot_loader::$pure_init is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 10

Deprecated: Creation of dynamic property wpsh_boot_loader::$memory_limit is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 11

Deprecated: Creation of dynamic property wpsh_boot_loader::$mem_usage_possible is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 14

Deprecated: Creation of dynamic property wpsh_boot_loader::$mem_usage_denied is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 15

Deprecated: Creation of dynamic property wpsh_boot_loader::$exec_denied is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 16

Deprecated: Creation of dynamic property wpsh_boot_loader::$is_windows is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 19

Deprecated: Creation of dynamic property wpsh_boot_loader::$check_points is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/boot-loader.php on line 20

Deprecated: Creation of dynamic property wpsh_plugin::$boot_loader is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 97

Deprecated: Creation of dynamic property wpsh_plugin::$transports_available is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 106

Deprecated: Creation of dynamic property wpsh_plugin::$l10n_tracing is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 113

Deprecated: Creation of dynamic property wpsh_plugin::$l10n_loaded is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 114

Deprecated: Creation of dynamic property wpsh_plugin::$plugin_basename is deprecated in /home/gorhy/public_html/blog/wp-content/plugins/wp-system-health/wp-system-health.php on line 133

Deprecated: Creation of dynamic property WP_Review_Me::$days is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 81

Deprecated: Creation of dynamic property WP_Review_Me::$type is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 82

Deprecated: Creation of dynamic property WP_Review_Me::$slug is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 83

Deprecated: Creation of dynamic property WP_Review_Me::$rating is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 84

Deprecated: Creation of dynamic property WP_Review_Me::$message is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 85

Deprecated: Creation of dynamic property WP_Review_Me::$link_label is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 86

Deprecated: Creation of dynamic property WP_Review_Me::$cap is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 87

Deprecated: Creation of dynamic property WP_Review_Me::$scope is deprecated in /home/gorhy/public_html/blog/wp-content/themes/apex/inc/review.php on line 88
Eliminar sidebar en plantilla Ext JS para WordPress – GoRhY Skip to content

Eliminar sidebar en plantilla Ext JS para WordPress

Estos días (ayer y anteayer) he trabajado en una página, la cual no quiero nombrar, usando WordPress y la plantilla Ext JS traducida por Ayuda WordPress.

Una de las cosas que tuve que hacer, fue eliminar el sidebar que trae por defecto, y tas mucho toquetear archivos encontré una forma (algo chapucera) de conseguirlo.

Español:

Para ello tenemos que abrir el archivo theme.js, que se encuentra en la carpeta wp-content/themes/extjswp/js.

Ahora tenemos que modificar de la línea 68 a la 76, dejándolo así:

 margins: {top:0,bottom:0,right:0,left:0},
 cmargins: {top:0,bottom:0,right:0,left:0},
 split:false,
 showPin: false,
 titlebar: false,
 collapsible: false,
 initialSize: 0,
 minSize: 0,
 maxSize: 0

Y con esto ya tenemos nuestra página con Ext JS y sin sidebar 😉

English:

To do this we must open the file theme.js, located in wp-content/themes/extjswp/js.

Now we have to modify the line 68 to 76, as above:

 margins: {top:0,bottom:0,right:0,left:0},
 cmargins: {top:0,bottom:0,right:0,left:0},
 split:false,
 showPin: false,
 titlebar: false,
 collapsible: false,
 initialSize: 0,
 minSize: 0,
 maxSize: 0

And now we can enjoy our blog with Ext Js and without the sidebar 😉

3 Comments

  1. Bueno, chapucero o no lo importante es que lo conseguiste. Más de una vez he intentado cosas similares y después de 2 horas lo único que he conseguido ha sido cargarme la plantilla entera.

    Un saludo

  2. Pues sí, probaba cosas que «parecían» mucho más lógicas y se jodía la plantilla entera.. por eso digo que es algo chapucero.. ya que sigue quedando mucho código que para mi gusto sobra, pero así no se jode la plantilla y se consigue que no salga.. ya es algo 😉

Comments are closed.