7) Troubleshooting #
- Invalid/Unexpected block content:
- Update to the latest theme version.
- Ensure prices are Paragraph blocks with class
price. - Run:
/wp-admin/?streetfood_migrate=prices/wp-admin/?streetfood_migrate=contact
- Clear caches (plugin/server/browser) and reload the editor.
- Auto setup didn’t run:
- Visit
/wp-admin/?streetfood_init=1as an admin. - Anchor links don’t scroll:
- Confirm menu links target
#hero,#menu,#about,#contact. - Ensure each section Group has the matching anchor in Block settings.
8) Files overview (for reference) #
style.css— Theme header (use main.css for styling)functions.php— Theme setup, assets, auto‑home tools, pattern registrationheader.php/footer.php— Sticky header, navigation,wp_head/wp_footerfront-page.php/index.php— Renders page blocks with a safe fallbacktemplate-parts/onepage-fallback.php— HTML fallback for empty pagesassets/css/main.css— Core stylesassets/js/main.js— Mobile nav toggle, smooth scrollassets/img/*— Illustrations/placeholderstheme.json— Editor defaults
9) Customization notes #
- Use the Block Editor to add/remove sections or duplicate menu cards.
- For deeper changes, create a child theme to preserve updates.
- Want a dynamic menu (custom post type) or extra sections? Extend via a plugin or child theme.
10) Support #
Contact me at [email protected]
- Include your order number, WordPress version, and site URL when requesting help.
- Typical response time: 1–2 business days.