Child Theme
Identity
| Field | Value |
|---|---|
| Stylesheet directory | gppersonale |
| Display name (style.css) | id86.net |
| Version | 1.1 |
| Parent theme | GeneratePress |
| Author | id86 |
| Canonical repository | git@github.com:donnyaw/id86-gp-theme.git |
| Local checkout | /home/rezriz/github/Wordpress/wp-dev/themes/develop-internally/id86/gppersonale-child-theme |
The directory remains gppersonale because WordPress identifies the installed stylesheet by its folder name. The visible front-end name is defined in the style.css header block.
File Inventory
| File | Lines | Responsibility |
|---|---|---|
functions.php | 551 | All PHP: asset enqueuing, shortcodes, search index, subscription workflow, admin settings |
style.css | 1287 | Brand tokens, homepage layout, responsive grids, search palette, subscribe bar, legacy theme styles |
js/id86-fusejs-global.js | 134 | Fuse.js search renderer for hero input and header command palette |
deploy.sh | ~30 | Rsync deployment script to GC-US-M10 |
inc/updater.php | ~50 | Theme update checker |
js/custom.js | Small | Custom jQuery |
js/jquery-3.7.0.min.js | Vendor | Downgraded jQuery |
js/owl.carousel.min.js | Vendor | Carousel (legacy) |
css/owl.carousel.min.css | Vendor | Carousel styles (legacy) |
screenshot.png | — | Theme screenshot (legacy GP Personale) |
Key PHP Responsibilities
| Group | Functions |
|---|---|
| Search | id86_fuse_search_index(), Fuse.js enqueue and localization, palette HTML, header trigger replacement |
| Documentation shortcodes | id86_latest_sheets_shortcode, id86_category_sheets_shortcode, id86_category_count_shortcode, id86_sheet_card |
| Stats | id86_stats_shortcode |
| Subscription | id86_render_subscribe_form, id86_save_subscriber, id86_verify_email_reoon, id86_subscribe_phpmailer |
| Admin settings | Reoon API key, SMTP configuration |
| Performance | Perfmatters front-page exceptions, Fuse.js delay-JS exclusion |
| Post views | setPostViews, gb_query_by_views |
Editing Rules
- Make site-specific behavior in the child theme, never in GeneratePress parent files.
- Keep reusable editable content in GeneratePress Elements rather than hard-coding copy in PHP.
- Bump or cache-bust assets when changing CSS/JS, then clear LiteSpeed, PHP OPcache, and Cloudflare caches.
- Validate
functions.phpwithphp -lbefore deployment:php -l functions.php. - Check whitespace with
git diff --checkto avoid trailing whitespace and merge conflict markers. - Stage only intended files before committing; do not commit unrelated worktree changes.