Não encontro zona Widgets depois de mudar template no WordPress

  • Autor Autor Filot Farías
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
F

Filot Farías

1
Ni
Suscripción a IA
Buen día, esta vez necesito una mano de los expertos 🙂

resulta que en una instalacion de wp nueva (aparecieron los widgets) pero al subirle un template ya no aparecen, he cambiado tema pero todo sigue igual, he reinstalado wp, pero nada que hacer, todo sigue asi.. es decir, no aparecen los widgets de modificar/agregar etc.. aqui una imagen de como aparece:

jpPtKuo.png

Espero que puedan ayudarme. Mil gracias de antemano.
 
Foi útil? Participe da conversa

Com sua conta grátis você pode responder, mandar mensagem privada ao autor e comprar com Saldo retido: o pagamento é liberado quando você recebe o combinado.

Leva 30 segundos · você volta a este tópico ao terminar
Puede ser que el theme no contenga sidebars :drunk:
 
PHP:
<?php

// Translations can be filed in the /lang/ directory
load_theme_textdomain( 'themejunkie', TEMPLATEPATH . '/lang' );	

require_once(TEMPLATEPATH . '/includes/sidebar-init.php');
require_once(TEMPLATEPATH . '/includes/custom-functions.php'); 
require_once(TEMPLATEPATH . '/includes/post-thumbnails.php'); 

require_once(TEMPLATEPATH . '/includes/theme-options.php');
require_once(TEMPLATEPATH . '/includes/theme-comments.php'); 
require_once(TEMPLATEPATH . '/includes/theme-widgets.php');

require_once(TEMPLATEPATH . '/functions/theme_functions.php'); 
require_once(TEMPLATEPATH . '/functions/admin_functions.php');

?>
 
PHP:
<?php

// Translations can be filed in the /lang/ directory
load_theme_textdomain( 'themejunkie', TEMPLATEPATH . '/lang' );	

require_once(TEMPLATEPATH . '/includes/sidebar-init.php');
require_once(TEMPLATEPATH . '/includes/custom-functions.php'); 
require_once(TEMPLATEPATH . '/includes/post-thumbnails.php'); 

require_once(TEMPLATEPATH . '/includes/theme-options.php');
require_once(TEMPLATEPATH . '/includes/theme-comments.php'); 
require_once(TEMPLATEPATH . '/includes/theme-widgets.php');

require_once(TEMPLATEPATH . '/functions/theme_functions.php'); 
require_once(TEMPLATEPATH . '/functions/admin_functions.php');

?>

Mmm muestranos el de sidebar-init.php
 
Mmm muestranos el de sidebar-init.php

PHP:
<?php

// Register Widgets
function tj_widgets_init() {

	// Bottom Widget Area
	register_sidebar( array (
		'name' => __( 'Left Sidebar - Homepage', 'themejunkie' ),
		'id' => 'left-sidebar-homepage',
		'description' => __( 'Left sidebar widgets on homepage', 'themejunkie' ),
		'before_widget' => '<div id="%1$s" class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );
		
	// Top Widget Area
	register_sidebar( array (
		'name' => __( 'Right Sidebar Top - Homepage', 'themejunkie' ),
		'id' => 'right-sidebar-top-homepage',
		'description' => __( 'Right sidebar top widgets on homepage', 'themejunkie' ),
		'before_widget' => '<div id="%1$s" class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );

	// Bottom Widget Area
	register_sidebar( array (
		'name' => __( 'Right Sidebar - Homepage', 'themejunkie' ),
		'id' => 'right-sidebar-homepage',
		'description' => __( 'Right sidebar widgets on homepage', 'themejunkie' ),
		'before_widget' => '<div id="%1$s" class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );	

	// Content Widget Area
	register_sidebar( array (
		'name' => __( 'Left Sidebar - Single/Page', 'themejunkie' ),
		'id' => 'left-sidebar-single-page',
		'description' => __( 'Left sidebar widgets on single posts and pages', 'themejunkie' ),
		'before_widget' => '<div id="%1$s" class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );

	// Middle Right Widget Area
	register_sidebar( array (
		'name' => __( 'Right Sidebar - Single/Page', 'themejunkie' ),
		'id' => 'right-sidebar-single-page',
		'description' => __( 'Right sidebar widgets on single posts and pages', 'themejunkie' ),
		'before_widget' => '<div id="%1$s" class="widget %2$s">',
		'after_widget' => "</div>",
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );
	
}
add_action( 'init', 'tj_widgets_init' );

?>
 
Hacele un backup y dejalo así:

PHP:
<?php
// Bottom Widget Area
    register_sidebar( array (
        'name' => __( 'Left Sidebar - Homepage', 'themejunkie' ),
        'id' => 'left-sidebar-homepage',
        'description' => __( 'Left sidebar widgets on homepage', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );
        
    // Top Widget Area
    register_sidebar( array (
        'name' => __( 'Right Sidebar Top - Homepage', 'themejunkie' ),
        'id' => 'right-sidebar-top-homepage',
        'description' => __( 'Right sidebar top widgets on homepage', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );

    // Bottom Widget Area
    register_sidebar( array (
        'name' => __( 'Right Sidebar - Homepage', 'themejunkie' ),
        'id' => 'right-sidebar-homepage',
        'description' => __( 'Right sidebar widgets on homepage', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );    

    // Content Widget Area
    register_sidebar( array (
        'name' => __( 'Left Sidebar - Single/Page', 'themejunkie' ),
        'id' => 'left-sidebar-single-page',
        'description' => __( 'Left sidebar widgets on single posts and pages', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );

    // Middle Right Widget Area
    register_sidebar( array (
        'name' => __( 'Right Sidebar - Single/Page', 'themejunkie' ),
        'id' => 'right-sidebar-single-page',
        'description' => __( 'Right sidebar widgets on single posts and pages', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );
?>

Si sigue igual o hay algun error, volvelo a restaurar.

Saludos.

PD: Ando saliendo, así que esta es mi ultima respuesta hasta que vuelva a conectarme.
 
Hacele un backup y dejalo así:

PHP:
<?php
// Bottom Widget Area
    register_sidebar( array (
        'name' => __( 'Left Sidebar - Homepage', 'themejunkie' ),
        'id' => 'left-sidebar-homepage',
        'description' => __( 'Left sidebar widgets on homepage', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );
        
    // Top Widget Area
    register_sidebar( array (
        'name' => __( 'Right Sidebar Top - Homepage', 'themejunkie' ),
        'id' => 'right-sidebar-top-homepage',
        'description' => __( 'Right sidebar top widgets on homepage', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );

    // Bottom Widget Area
    register_sidebar( array (
        'name' => __( 'Right Sidebar - Homepage', 'themejunkie' ),
        'id' => 'right-sidebar-homepage',
        'description' => __( 'Right sidebar widgets on homepage', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );    

    // Content Widget Area
    register_sidebar( array (
        'name' => __( 'Left Sidebar - Single/Page', 'themejunkie' ),
        'id' => 'left-sidebar-single-page',
        'description' => __( 'Left sidebar widgets on single posts and pages', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );

    // Middle Right Widget Area
    register_sidebar( array (
        'name' => __( 'Right Sidebar - Single/Page', 'themejunkie' ),
        'id' => 'right-sidebar-single-page',
        'description' => __( 'Right sidebar widgets on single posts and pages', 'themejunkie' ),
        'before_widget' => '<div id="%1$s" class="widget %2$s">',
        'after_widget' => "</div>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
    ) );
?>

Si sigue igual o hay algun error, volvelo a restaurar.

Saludos.

PD: Ando saliendo, así que esta es mi ultima respuesta hasta que vuelva a conectarme.

Sigue todo igual, gracias de igual modo..
 
Borra el cache de tu navegador... se me hace un poco extraño tu caso.
 
Intentaste actualizarlo desde el panel? tenes la última versión?

Revisa las "screen options"
 
Intentaste actualizarlo desde el panel? tenes la última versión?

Revisa las "screen options"

El wp, es nuevo, al parecer el problema es el tema, porq no me dejaba entrar a wp-login, se quedaba en blanco, he renombrado el tema y ya puedo acceder, pero los widgets siguen sin aparecer..

---------- Post agregado el 31-ene-2014 hora: 19:58 ----------

El problema era un plugin, resuelto 😉
 
Voltar
Topo