Me entero por Andrés de un truco muy chulo para mostrar la plantilla por defecto de WordPress a los visitantes que aún utilicen Internet Explorer 6, y que así vean bien nuestro contenido aunque se pierdan nuestras virtudes estéticas desplegadas en nuestra plantilla elegida.
Para conseguirlo solo tienes que añadir lo siguiente al fichero functions.php de tu theme (plantilla):
-
add_filter('template', 'serve_default_to_iesix');
-
add_filter('option_template', 'serve_default_to_iesix');
-
add_filter('option_stylesheet', 'serve_default_to_iesix');
-
function serve_default_to_iesix($theme) {
-
$theme = 'default';
-
return $theme;
-
}
También te puede interesar :
Hoy ha salido a la luz Internet Explorer 8, la nueva versión del navegador de Microsoft, y c ...
Seguro que este truco es algo que muchos apreciarán, pues permite mostrar el contenido de lo ...
Una de las novedades que llevamos disfrutando en WordPress desde hace poco son las miniatura ...
















10 comentarios en “Mostrar el theme Default a Internet Explorer 6”
Información Bitacoras.com...
Valora en Bitacoras.com: Me entero por Andrés de un truco muy chulo para mostrar la plantilla por defecto de WordPress a los visitantes que aún utilicen Internet Explorer 6, y que así vean bien nuestro contenido aunque se pierdan nuestras virtudes es.....
Muy interesante y la verda un consejo útil para cualquier Blogger.
Mira lo que me ha pasado al colocar el script en el functions.php y no se cvomo arreglarlo:
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-login.php on line 290
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-login.php on line 302
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 689
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 690
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 691
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 692
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 693
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 694
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 697
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 698
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 699
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 700
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 703
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 704
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 705
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 706
Warning: Cannot modify header information - headers already sent by (output started at /home/ulpilex/public_html/Vitruvius/wp-content/themes/big-blue-01/functions.php:6) in /home/ulpilex/public_html/Vitruvius/wp-includes/pluggable.php on line 865
castguer yo te recomendaría que editases el archivo functions.php en tu ordenador, te lo bajas por FTP, y lo vuelves a subir borrando las líneas de código que han producido el error
No sé si es el mejor procedimiento en estos casos pero a mí me ha servido en algunos casos
[...] Tellado encontrei um truco bem legal para mostrar um theme default aos visitantes que ainda utilizem Internet Explorer 6 para visitar nosso blog WordPress, e que assim vejam bem nosso conteúdo mesmo perdendo algumas das [...]
[...] Vi no Ayuda WordPress uma dica interessante de como mostrar o tema default para os usuários do Internet Explorer 6. Como [...]
[...] | AyudaWordpress Escrito por Khirr @ 27 Septiembre 2009 0 [...]
[...] Vía | Ayuda WordPress [...]
[...] | AyudaWordpress (spanish) Categories: WordPress Tags: Comments (0) Trackbacks (0) Leave a comment [...]
Español - ¿Como puedo mostrar un widget en la sidebar si el usuario usa Internet Explorer?
Ingles - How I can show a sidebar widget if user use Internet explorer?
Escribe un Comentario