Support » Themes and Templates » Blog Page Widgets are not showing

  • Resolved lstekl


    On the site, the blog page widgets are not showing up. I created a second child’s theme to make changes because my client wanted a different look to the original site. Once I finished, I noticed the widgets were not showing, but realized that they were not added to the sidebar yet. So I added them but they are still not showing up. I have since upgraded to the current WP version, in the process I deactivated and reactivated all the plugins but still nothing appears. Any help is greatly appreaciated!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The first thing to do would be check that in your theme the names are the same for the call in (usually functions.php) and the sidebar where the widget is appearing. This is usually the most common issue. Are you able to check that?

    Yes I can, but I don’t know what the call in is or what name I am checking for. I am fairly new to coding and am learning as I go. This is my first site. Could you please be more specific as to what I am looking for?
    And will I need to add the functions.php file to my child’s theme?

    Ok lets try step by step then?

    In your functions.php file is there something like this:

    register_sidebar( array(
    		'name' => __( 'Main Sidebar', 'twentytwelve' ),
    		'id' => 'sidebar-1',
    		'description' => __( 'Appears on posts and pages except the optional Homepage template, which has its own widgets', 'twentytwelve' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget' => '</aside>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );

    Then in your sidebar.php (or where the file for your sidebar) do you have something like this:

    <?php dynamic_sidebar( 'sidebar-1' ); ?>

    See the name sidebar-1 is the common link there – your name will probably be different.

    yes they are there and basically the same thing

    [No bumping, thank you.]

    I have been doing some more looking and it looks like the problem occured with CSS changes I have made. This is my second child’s theme and when I re-install the other one the widgets are there.

    I created another child’s theme and copied the CSS file from 2011 theme folder, then copied the contents of the current theme into it and the widgets do not appear in the new one either.

    Is there anyway to find out what is causeing hte problem without actually re-doing the whole thing from scratch…again??



    Forum Moderator

    copied the CSS file from 2011 theme folder

    That’s not how you create a child theme. See child themes.

    ok. I went back and checked my work since I did the second theme from memory. Everything checkout alright.

    To back up a step:
    The first theme I created is working properly, but my client wanted a different look created. I was looking to avoid finding all places to make the changes again because I was building on and changing what I had already created in the first theme.

    So I created a new file and copied and pasted everything below the import rule in the style.css file from the first theme into the second theme’s style.css file below it’s import rule.

    Thats when the widgets dissapeared. Their column is just empty.

    I did create another childs theme according to the directions you posted to (esmi)- new folder, add a new file named style.css, put the import rule in, then the contents of the style.css file in of my second theme and the widgets are still not showing up.

    (sorry for the confusion and story!)

    Thank you for all the input… I ended up re-doing everything and the widgets are back.

    I cannot get my widget to show up on the left side??

    By the way I have widgets placed in the box but they do not show up

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Blog Page Widgets are not showing’ is closed to new replies.