Developer Notes

Child theme, shortcodes, template files and where to keep custom code.

Documentation home › Developer Notes

Child theme and custom code

Install washlora-child.zip and activate the child theme for template and style overrides. Keep custom PHP in the child theme or a small companion plugin, never in the parent theme, so updates do not overwrite it.

Shortcodes

ShortcodeUse
[laundry_classic_sections]Outputs the structured sections of a Classic Editor page. Keep it in the page's main content.
[laundryes_commerce_store]Shows the catalogue shop. On an ordinary page it shows the full catalogue.
[laundryes_woocommerce_store niche="laundromat"]Shows the shop for one niche.

Theme files

Main template files in the Washlora theme folder (laundryes, version 2.0.0):

File or folderPurpose
header.php, footer.php, sidebar.phpShared shell parts.
home-page.php, about-page.php, pricing.php, contact.php, faqs-page.php, blog-page.phpPage templates.
archive-laundry_service.php, single-laundry_service.phpArchive and single templates for the Laundry Service content type.
single.php, archive.php, search.php, 404.php, comments.php, index.php, page.phpStandard WordPress templates.
woocommerce.phpWooCommerce wrapper template.
inc/Theme modules: commerce shell, demo navigation, local fonts, mega menu, niche identity, niche menu, performance, plugin onboarding, style presets and template functions.
assets/, languages/, rtl.cssScripts, styles and images; translation files; right-to-left styles.
File names reflect version 2.0.0 and can change in later versions. Override templates in the child theme instead of editing these files.