Skip to content

Apply About page metadata at its real source - #29

Merged
alanw707 merged 1 commit into
mainfrom
fix/about-page-metadata-source-2026-11-22
Nov 23, 2026
Merged

alanw707 merged 1 commit into
mainfrom
fix/about-page-metadata-source-2026-11-22

Conversation

@alanw707

Copy link
Copy Markdown
Owner

Correction to #28, which only landed the document title.

Verified in production HTML:

  • <!-- SEO Meta Tags --> still held the 25-char excerpt, because get_meta_description() reads post_excerpt rather than the filtered excerpt
  • the H1 is hardcoded in page-about.php, so no title filter could reach it

Fixes both at the source and removes the get_the_excerpt filter that never fired.

The previous attempt changed the document title but left the description and
heading untouched: the SEO class reads the page's excerpt field directly, and
page-about.php hardcodes the H1 rather than rendering the post title.

Description now comes from an explicit page map in the SEO class, the H1 is
edited in the template, and the excerpt filter that never fired is removed.
@alanw707
alanw707 merged commit 474a489 into main Nov 23, 2026
7 checks passed
@alanw707
alanw707 deleted the fix/about-page-metadata-source-2026-11-22 branch November 23, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant