Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Carradee

    (@carradee)

    I FIGURED IT OUT!

    wp_footer()

    I’d been leaving it inactive b/c I didn’t know what it did yet.

    Interestingly, the Menus panel works without wp_footer() active, but the Widgets panel apparently needs it.

    Thread Starter Carradee

    (@carradee)

    Thanks for that tip on the ID. I’ve adjusted that to b2b-sidebar.

    It’s a fresh install of WP I’m specifically using for demos, the only active plugin being “WordPress Database Reset” (which I’m using to wipe things every so often to double-check that I haven’t broken anything in my definitions—I do realize I could set up a reset in functions.php, but I’m less likely to forget this is here and leave it when I don’t need it).

    I’ve been able to customize Customizer, but the Widgets panel still isn’t working. :/

    The WordPress Customizer plugin was made part of WP core somewhere in v. 4. I can’t even hide the panel—it throws and error. There’s a filter that’s supposed to work, but I’m trying to get the panel working, instead.

    Insofar as display goes, I’ve tried both forms of PHP “if” syntax, and…

    method 1

    <?php if ( is_active_sidebar( 'b2b-sidebar' ) ) { ?>
    	<div id='sidebar' role='complementary'>
    		<?php dynamic_sidebar( 'b2b-sidebar' ); ?>
    	</div><!-- / #sidebar -->
    <?php } ?>

    method 2:

    <?php
    if ( is_active_sidebar( 'b2b-sidebar' ) ) {
    	echo "<div id='sidebar' role='complementary'>\r\n";
    	dynamic_sidebar( 'b2b-sidebar' );
    	echo "\r\n</div><!-- / #sidebar -->\r\n";
    	}
    ?>

    Both fail to show in Customizer, even when I’m looking at an active widget area I set up under Appearance > Widgets.

    I’ve been comparing my theme against twentysixteen and am not seeing any differences that would account for that. I’m working on a stripped-down version to see if that’s it.

    Thread Starter Carradee

    (@carradee)

    Thread Starter Carradee

    (@carradee)

    I notice that’s a few years old and referring to WP 3.4., and it’s omitting transitions and defining jargon with further jargon. I’m sure it makes sense to folks already fluent with the underlying assumptions, but I’m not. :-/ Thus why I’m having trouble here.

    So am I needing to tell WP to load the widgets area into the Customizer? I thought that was supposed to auto-generate.

    Which command is it? Even with digging into the codex.WP and the developer.WP, I can’t identify which one is needed, here.

    Making your own widget areas is common, is it not? I don’t get why I can’t find any tutorial addressing this specifically.

    Thread Starter Carradee

    (@carradee)

    Confirmed: A distinct and fresh WordPress install has the same problem, so I know it’s something in my theme.

    Thread Starter Carradee

    (@carradee)

    Hi vtxyzzy,

    I tried that, thanks. I discovered that there was somehow a folder named “fiction” on my root. Deleted that; it works, now.

Viewing 6 replies - 1 through 6 (of 6 total)