Swap WordPress “Widget Area” based on Page Template

WOW! well, it would seems as tho i figured it out! after MORE searching, i came across https://learn.wordpress.org/lesson-plan/widget-areas apparently i had to “register” a “sidebar” – which thru me, as i was wanting to modify in the footer. after looking that up, the term “sidebar” is used anywhere the theme allows the user to add … Read more

getBlockVariations(…) is undefined in Widget and Template Part editors but not Post Editor

Here’s why did you get an undefined The function itself was defined, but the function call (wp.blocks.getBlockVariations( ‘core/embed’ )) returned an undefined because by the time that you called the function, the block/Gutenberg editor had not yet been initialized. Hence, undefined was returned instead of an array of block variations, because core block types like … Read more