• Hi,

    I am currently working on this site:
    https://lulusinspirations.com/blog1/

    However, for some unknown reason none of my widgets/plugins are showing up. It keeps showing Archives and Meta and they are not even enabled on the widgets area.

    I tried adding a working Twitter widget (Advanced Twitter Profile Widget) and many others and it just won’t show up.

    Does anybody know the reason why?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Is your theme widgetised ?

    Thread Starter missmarii

    (@missmarii)

    I believe so.

    It shows the widget menu with the boxes to allow me to drag and drop the different widgets.

    You can check if your theme is widgetised quite simply :
    go to your theme file and check if you have a functions.php file containing this

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar();
    ?>

    If you have it, then your theme is ready.
    If you don’t have it, you need to create it manually.

    Check https://codex.www.ads-software.com/Widgetizing_Themes to make sure you’re doing it right.

    The wordpress admin can show you the drag and drop interface without the theme being ready, so first give it a look.

    Thread Starter missmarii

    (@missmarii)

    Hi,

    The theme has a function.php file but it is empty.

    Should i add:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar();
    ?>

    to the file?

    Thread Starter missmarii

    (@missmarii)

    Also, i just noticed that this happens with ANY theme that i activate.
    Once, i enable 1 widget it works and then i can add a secnd one and it wont add it.

    I’ll try removing all of them and it still keeps the first one.

    Also, this WP is Yahoo hosted (in case that matters).

    Yes if you have only one sidebar, adding those 4 lines of codes exaclty the way they are written into functions.php (in your theme file) should enable the widgets.

    Thread Starter missmarii

    (@missmarii)

    I was accessing the file the wrong way…
    Here’s what the function.php file has:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter missmarii

    (@missmarii)

    I was accessing the file the wrong way…
    Here’s what the function.php file has:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter missmarii

    (@missmarii)

    Code for function.php that i currently have: https://wordpress.pastebin.com/JD3Xx6Mz

    You seem to have 6 (!!) sidebars registered. Maybe check that there was no mess up with their names in the other files…

    Thread Starter missmarii

    (@missmarii)

    I have removed all additional sidebars.

    Only kept the part that said:

    // Area 1, located at the top of the sidebar.
    	register_sidebar( array(
    		'name' => __( 'Primary Widget Area', 'twentyten' ),
    		'id' => 'primary-widget-area',
    		'description' => __( 'The primary widget area', 'twentyten' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );

    still, not working… ??
    Any other suggestions?
    I dont even know how that happened…

    Is the rest of the code in the other files referring to that specific name ? Sometime if the names of the sidebar don’t match, it causes that kind of problem.
    But any other idea welcome.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘No widgets on sidebar’ is closed to new replies.