403Webshell
Server IP : 104.171.130.249  /  Your IP : 216.73.216.146
Web Server : nginx/1.25.5
System : Linux 0dac65491b7e 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/matreshka/docs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/matreshka/docs/DEVELOPER_NOTES.md
# Matreshka Theme – Developer Notes

- Keep `functions.php` lean. Place custom helpers into `/inc/` as small focused files (e.g. `inc/helpers-price.php`, `inc/helpers-strings.php`) and require them from `functions.php`.
- Prefer WooCommerce template overrides (in `/woocommerce/...`) for output changes instead of ad-hoc helpers when it’s a single rendering concern.
- When adding settings (ACF options + native fallback), isolate code in `/inc/theme-options.php` and reuse getters to avoid template bloat.
- Image sizes: use named sizes (e.g. `matreshka_banner`) and ensure templates consume these sizes explicitly.
- JS: initialize sliders via `assets/js/sliders.js` using jQuery noConflict-safe wrappers.
- Breadcrumbs: render in template close to the page content to match design; keep logic minimal and escape output.

Youez - 2016 - github.com/yon3zu
LinuXploit