Carradee
Forum Replies Created
-
Forum: Hacks
In reply to: Widgets Working Fine EXCEPT Not Showing in CustomizerI 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.
Forum: Hacks
In reply to: Widgets Working Fine EXCEPT Not Showing in CustomizerThanks 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.
Forum: Hacks
In reply to: Widgets Working Fine EXCEPT Not Showing in CustomizerFor a pic of the problem, see here.
https://www.dropbox.com/s/odn3e4edodxfzb7/customizer%20glitch.png?dl=0
Forum: Hacks
In reply to: Widgets Working Fine EXCEPT Not Showing in CustomizerI 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.
Forum: Hacks
In reply to: Widgets Working Fine EXCEPT Not Showing in CustomizerConfirmed: A distinct and fresh WordPress install has the same problem, so I know it’s something in my theme.
Forum: Fixing WordPress
In reply to: Specific Page Won't Show Under Its PermaLinkHi vtxyzzy,
I tried that, thanks. I discovered that there was somehow a folder named “fiction” on my root. Deleted that; it works, now.