From 2fa223a0cc5ee34a29b97b9d970f59b7e5e3079d Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Thu, 12 Sep 2024 11:11:43 -0400 Subject: [PATCH] Meta tags: Update opengraph tags to better reflect content Fixes #304 --- themes/wporg-5ftf-2024/functions.php | 1 + .../wporg-5ftf-2024/inc/seo-social-meta.php | 75 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 themes/wporg-5ftf-2024/inc/seo-social-meta.php diff --git a/themes/wporg-5ftf-2024/functions.php b/themes/wporg-5ftf-2024/functions.php index d80b722..ea736fb 100644 --- a/themes/wporg-5ftf-2024/functions.php +++ b/themes/wporg-5ftf-2024/functions.php @@ -7,6 +7,7 @@ use const WordPressDotOrg\FiveForTheFuture\Pledge\CPT_ID as PLEDGE_POST_TYPE; require_once __DIR__ . '/inc/block-config.php'; require_once __DIR__ . '/inc/block-bindings.php'; +require_once __DIR__ . '/inc/seo-social-meta.php'; // Block files. require_once __DIR__ . '/src/my-pledge-list/index.php'; diff --git a/themes/wporg-5ftf-2024/inc/seo-social-meta.php b/themes/wporg-5ftf-2024/inc/seo-social-meta.php new file mode 100644 index 0000000..162a030 --- /dev/null +++ b/themes/wporg-5ftf-2024/inc/seo-social-meta.php @@ -0,0 +1,75 @@ +