feat: implement header/footer visibility controls for checkout and thankyou pages
- Created LayoutWrapper component to conditionally render header/footer based on route - Created MinimalHeader component (logo only) - Created MinimalFooter component (trust badges + policy links) - Created usePageVisibility hook to get visibility settings per page - Wrapped ClassicLayout with LayoutWrapper for conditional rendering - Header/footer visibility now controlled directly in React SPA - Settings: show/minimal/hide for both header and footer - Background color support for checkout and thankyou pages
This commit is contained in:
@@ -27,6 +27,7 @@ use WooNooW\Branding;
|
||||
use WooNooW\Frontend\Assets as FrontendAssets;
|
||||
use WooNooW\Frontend\Shortcodes;
|
||||
use WooNooW\Frontend\TemplateOverride;
|
||||
use WooNooW\Frontend\PageAppearance;
|
||||
|
||||
class Bootstrap {
|
||||
public static function init() {
|
||||
@@ -44,6 +45,7 @@ class Bootstrap {
|
||||
FrontendAssets::init();
|
||||
Shortcodes::init();
|
||||
TemplateOverride::init();
|
||||
new PageAppearance();
|
||||
|
||||
// Activity Log
|
||||
ActivityLogTable::create_table();
|
||||
|
||||
Reference in New Issue
Block a user