Skip to main content

Child Theme

Identity

FieldValue
Stylesheet directoryid86
Display name (style.css)id86.net
Version1.11
Parent themeGeneratePress
Authorid86
Canonical repositorygit@github.com:donnyaw/id86-gp-theme.git
Local checkout/home/rezriz/github/Wordpress/wp-dev/themes/develop-internally/id86/id86-child-theme

The directory is id86 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

FileLinesResponsibility
functions.php~1060All PHP: asset enqueuing (incl. article-content on single posts), shortcodes (incl. id86_modified_date post meta + id86_reading_time, id86_recommendations), search index, subscription workflow, contact form (Turnstile + Zammad + Telegram), archive renderers, admin settings, recommendations no-cache header
style.css1690Brand tokens, homepage layout, responsive grids, archive cards, search palette, subscribe bar, post meta line, recommendations landing page, legacy theme styles
css/article-content-v2.cssArticle body element styling: tables, code blocks, blockquotes, footnotes, headings, admonition support classes
js/article-content.jsArticle body behaviors: table scroll wrapper, heading anchors, copy buttons on plain <pre> blocks (skips Code Block Pro blocks)
js/id86-fusejs-global.js134Fuse.js search renderer for hero input and header command palette
js/recommendations.js97Recommendations page tab switching + legacy-HTML fallback for stale cache
deploy.sh~30Rsync deployment script to GC-US-M10
inc/updater.php~50Theme update checker (disabled — no vendor update endpoint)
js/custom.jsSmallCustom jQuery
js/jquery-3.7.0.min.jsVendorDowngraded jQuery
js/owl.carousel.min.jsVendorCarousel (legacy)
css/owl.carousel.min.cssVendorCarousel styles (legacy)
screenshot.pngTheme screenshot

Key PHP Responsibilities

GroupFunctions
Searchid86_fuse_search_index(), Fuse.js enqueue and localization, palette HTML, header trigger replacement
Documentation shortcodesid86_latest_sheets_shortcode, id86_category_sheets_shortcode, id86_category_count_shortcode, id86_sheet_card
Archive renderersid86_archive_header_shortcode, id86_archive_card_shortcode
Statsid86_stats_shortcode
Subscriptionid86_render_subscribe_form, id86_save_subscriber, id86_verify_email_reoon, id86_subscribe_phpmailer
Contact formid86_render_contact_form, id86_verify_turnstile_token, id86_send_contact_zammad, id86_send_contact_telegram, id86_send_contact_notification_email
Admin settingsReoon API key, SMTP configuration, Turnstile keys, Zammad + Telegram options
PerformancePerfmatters front-page exceptions, Fuse.js delay-JS exclusion
Post viewssetPostViews, 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.php with php -l before deployment: php -l functions.php.
  • Check whitespace with git diff --check to avoid trailing whitespace and merge conflict markers.
  • Stage only intended files before committing; do not commit unrelated worktree changes.