fix: wire verdict card and disclosure into single-peptide.php (v2.0.0-alpha.2)

- Verdict card component was built in alpha.1 but never called from the
  template; no verdict state was rendering on any pr_peptide page.
  Now called immediately after the page header for posts with verdict_state.
- Affiliate disclosure (inline) was built in alpha.1 but never called.
  Now rendered after .peptide-content-box (below the_content / partner links)
  per the editorial disclosure spec: disclosure must follow the partner link.
- Suppress page-header <h1> when verdict_state is set; the verdict card
  already renders an <h1>, avoiding duplicate heading semantics / SEO issue.
This commit is contained in:
peptiderepo
2026-04-25 20:28:14 +00:00
parent 4f16ed9035
commit ce08425270
4 changed files with 70 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) {
}
// Theme constants.
define( 'PEPTIDE_STARTER_VERSION', '2.0.0-alpha.1' );
define( 'PEPTIDE_STARTER_VERSION', '2.0.0-alpha.2' );
define( 'PEPTIDE_STARTER_DIR', get_template_directory() );
define( 'PEPTIDE_STARTER_URI', get_template_directory_uri() );