• Hi there,
    I just created a widget for my child theme this way in my functions.php

    <?php
    function init_widget_nube() {
    	register_sidebar( array(
    		'name' => 'Widget Nube',
    		'id' => 'widget_nube'
    	) );
    }
    add_action( 'widgets_init', 'init_widget_nube' );
    ?>

    Now I have the region for the widget in my wp-admin, that′s ok, but if I try to move one widget there, nothing appears on my site. Also, I tried with:<?php the_widget('widget_nube'); ?> in my page.php in the place where I want to show the widget but again, nothing on the screen… Can anyone tell me what is happening? I don′t understand what′s going on…

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Thread Starter jorgeenriquezm

    (@jorgeenriquezm)

    Well, I readed that before, I just readed it now again but I don′t find a solution.

    If I create the widget area the way I did, IN THEORY I should be able to drag a text widget there with a “Hello world” but I can′t see the text.

    I know how to create the widget area, I now how to move one widget to that area, but for some reason I can′t see the “content” of the widget, that′s my problem and I don′t find the solution…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I can′t see my widget’ is closed to new replies.