Commit Graph

12 Commits

Author SHA1 Message Date
peptiderepo
844951b268 feat(front-page): remove Science Feed card + 3-item news teaser (v2.2.2)
Merges PR #55. Science Feed removed from module grid (5 cards). Inline news feed replaced with 3-item teaser + CTA. Version 2.2.1 → 2.2.2.
2026-04-29 14:35:03 +07:00
peptiderepo
2b23bb7e2a feat: RCT inline abbreviation tooltip on verdict legend strip (v2.2.1) (#53)
CI green (PHP Lint 8.1/8.2/8.3 ✓, PHPCS ✓, PHPUnit 8.1/8.2/8.3 ✓). QA: PASS.
2026-04-29 13:29:04 +07:00
peptiderepo
03bedf1d6b feat(copy): homepage editorial voice — v2.1.2
Items 2, 3, 5 from CMO QA pass (seq 4):
- module-cards: H2 'Research Modules' → 'Tools'; subtitle + all 6 card
  descriptions rewritten in editorial voice (removed reagent/laboratory framing)
- footer: About blurb → verdict-driven guide framing
- front-page: news section H2 'Latest Peptide Research' → 'What\'s new';
  subtitle updated to match editorial voice
  (CMO seq 2 reversed 'Briefing' to avoid vocabulary collision with newsletter)

Version: 2.1.1 → 2.1.2
2026-04-26 06:25:47 +00:00
peptiderepo
08dc8480ba fix: PHPCS — replace multi-line HTML comments, fix verdict-meta array indent + PHP tag
front-page.php:
- Replace 3 decorative multi-line HTML comment blocks (tab+space mixed
  indentation) with single-line <!-- SECTION --> comments; eliminates 16
  'Tabs must be used' PHPCS errors at lines 37-41, 93-97, 127-132

inc/verdict-meta.php:
- Line 37: correct over-indented 'single' key (6 tabs → 3 tabs to match
  array alignment of sibling keys)
- Line 171: split '<?php for (...)' onto two lines so opening PHP tag is
  on a line by itself (WordPress PHPCS requirement)

Both are pre-existing violations now exposed because CI runs PHPCS on all
PHP files (not just changed ones). No functional change.
2026-04-26 04:32:27 +00:00
peptiderepo
3942c6b29e v2.1.0 fix — tabs, split verdict helpers, PHPCS clean
- Convert space indentation → tabs in front-page.php (PHPCS)
- Extract verdict taxonomy + config arrays → inc/verdict-helpers.php
- Wire verdict-helpers.php into functions.php
- front-page.php now 254 lines (was 309)
2026-04-26 04:26:59 +00:00
peptiderepo
4188bba014 v2.1.0 — Brand token adoption + homepage verdict sections
- Remap --color-brand-primary/--color-link-hover/--focus-shadow → teal tokens
- Hero search submit → lime-500/ink (CMO brief §6)
- Hero decorative shapes → teal/lime tints
- Hero wavy underline → teal
- front-page.php: verdict taxonomy explainer (5 states) + featured verdict cards
- inc/helpers.php: new brand copy defaults (hero title + subtitle)
2026-04-26 04:22:04 +00:00
peptiderepo
9da702e746 v1.5.0: extend theme with navigation dropdowns, 9 page templates, auth UI, newsletter, contact panel
Major theme extension adding full-featured navigation with dropdown submenus (Tools, My Data, Resources),
9 new page templates (Calculator, Protocol Builder, Tracker, Subject Log, Documentation, Directory,
Science Feed, Profile, Sign In/Register), documentation page with sidebar ToC and scroll spy,
branded AJAX authentication forms, newsletter signup with admin export, slide-out contact/support panel,
Research Modules 6-card grid on front page, and comprehensive footer update.

Split functions.php (554→206 lines) into 6 focused inc/ modules: helpers, customizer, auth-handlers,
contact-handler, page-setup, newsletter-admin. All new components include dark mode support, CSRF
protection, input sanitization, output escaping, and graceful plugin degradation via shortcode_exists().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-14 08:38:30 +07:00
peptiderepo
f41a4d8fed v1.4.0: Clawdiverse-inspired theme redesign
Warm off-white light palette, decorative geometric shapes,
category-coded peptide cards with tinted borders and pill badges,
larger hero typography with accent word, header CTA button,
and redesigned single-peptide detail page with meta card grid.

Dark mode stays default per user preference. Light mode gets the
warm treatment when toggled or via prefers-color-scheme.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 11:34:35 +07:00
peptiderepo
65b9f7a13c fix: resolve PHPCS coding standard violations for CI
- Convert all PHP files from CRLF to LF line endings
- Reformat multi-line function calls per WPCS standard
  (opening paren last on line, closing paren on own line)
- Fix assignment-in-conditional in single-peptide.php
- Change double quotes to single quotes in content-none.php
- Exclude InvalidClassFileName sniff (standard WP functions.php pattern)
- Fix archive-peptide.php opening PHP tag placement

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 22:54:51 +07:00
peptiderepo
4b04b22161 fix: escape get_search_query() output to prevent XSS in search forms
Wrapped get_search_query() with esc_attr() in 404.php, front-page.php,
and searchform.php. Without this, a crafted search query can inject
arbitrary HTML attributes into the search input value field.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 16:22:48 +07:00
Terence Ong
71ba09e18c feat: add PRAutoBlogger posts widget to front page
Renders PRAutoBlogger-generated research articles as a card grid
between the hero section and the peptide news feed. Wrapped in
shortcode_exists() so it degrades gracefully if the plugin is
deactivated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 18:44:00 +07:00
peptiderepo
9642066846 Initial commit: peptide-starter theme v1.3.1 2026-04-08 01:30:16 +07:00