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:
16
flush-nav-cache.php
Normal file
16
flush-nav-cache.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Flush Navigation Cache
|
||||
*
|
||||
* Run this file once to clear the navigation cache and force a rebuild.
|
||||
* Access via: /wp-content/plugins/woonoow/flush-nav-cache.php
|
||||
*/
|
||||
|
||||
// Load WordPress
|
||||
require_once __DIR__ . '/../../../wp-load.php';
|
||||
|
||||
// Flush the navigation cache
|
||||
delete_option('wnw_nav_tree');
|
||||
|
||||
echo "✅ Navigation cache cleared! Refresh your Admin SPA to see the changes.\n";
|
||||
echo "Version: 1.0.2 - Customer SPA moved to Appearance menu\n";
|
||||
Reference in New Issue
Block a user