• Hi,

    Can anyone help me? I have somehow messed up my site to where no widgets will show up in the sidebar. I have 3 installed and none show up. I have tried installing other widgets. None show up. Is anyone familiar with what I may have done to make this happen? WordPress and the widgets are up to date.

    Clueless,

    Kelly

    https://www.travelwithcastle.com

Viewing 11 replies - 1 through 11 (of 11 total)
  • hello there,

    all the widgets appear for me … maybe you have to delete the Cache of your browser and check again or check with another browser because all the widgets : about castle / upcoming adventures …

    Thread Starter dequecolour

    (@dequecolour)

    Thank you for the note, but those are not widgets. I designed those as images, and so that part is coded into the theme in the sidebar file. The widgets which are WordPress plugins are the ones I mean to refer to, and they include three widgets: a facebook like widget, an instagram widget, and a newsletter sign up. They are missing!

    did you install a plugin or something !? if yes try to deactivate it then try to add any test widget !?

    Thread Starter dequecolour

    (@dequecolour)

    Tried that. Thanks. No success.

    Does anyone else have any idea what on earth could be happening? I have tried removing my child theme file and using the base theme only. That did not work. I cannot make this site show any widgets at all in the sidebar. The two I need are very basic – Facebook and Instagram. This has been an issue for weeks, and I honestly have no idea what code I need to look at to address this.

    There’s no sidebar output on the page at all. Not sure it’s related, but you have quite a few markup errors, so you might look at those:

    https://validator.w3.org/check?uri=http%3A%2F%2Fwww.travelwithcastle.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    Thread Starter dequecolour

    (@dequecolour)

    There’s no sidebar output because I removed my entire child theme sidebar.php file in order to attempt to only have the widgets showing through the original theme. Only they don’t show up at all, so it looks blank.

    I have turned back on my sidebar.php now assuming it is not the issue

    Thanks for the markup error link – that is helpful and important although nothing looks related to the absence of widgets. If anyone has ever experienced this, please pass on any info you have — thank u

    Have you tried switching to an unmodified twentytwelve theme? And if that does not work, deactivated all plugins? Do you have working widgets there?

    that part is coded into the theme in the sidebar file

    can you post the full code?

    I have 3 installed and none show up

    are those widgets inserted in the ‘main sidebar’ widget area?

    Thread Starter dequecolour

    (@dequecolour)

    yes, the widgets are in the main sidebar widget area. They are just a Facebook Like widget, an Instagram widget, and newsletter sign-up widget. All of them have been working fine, I just must have messed up something..

    here is the code i have in my child theme

    https://pastebin.com/RY6R4DX2

    here is what is in my base theme of twenty twelve:

    https://pastebin.com/jv7qtYr1

    Can you please let me know if i have edited something inadvertently or if you would advise anything to resolve this? Could it be in the CSS if it is not the sidebar pages? if so, how?

    many thanks

    you need to add the code from the sidebar.php of the parent theme into sidebar.php in your child theme;

    <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
                    <div id="secondary" class="widget-area" role="complementary">
                            <?php dynamic_sidebar( 'sidebar-1' ); ?>
                    </div><!-- #secondary -->
            <?php endif; ?>

    in the position where you want to show the widgets.

    Thread Starter dequecolour

    (@dequecolour)

    thank you so so so so much!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘no widgets showing up in twenty twelve’ is closed to new replies.