From 3bfebeeb5669100a916df503a0b81f79c4808c18 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Wed, 21 Feb 2024 22:41:51 -0800 Subject: [PATCH] Apply filter to add alt text to writemore author bio image --- .gitignore | 2 +- mu-plugins/index.php | 2 ++ mu-plugins/themes/writemore.php | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 mu-plugins/themes/writemore.php diff --git a/.gitignore b/.gitignore index 1fb97daa..d43dbf65 100644 --- a/.gitignore +++ b/.gitignore @@ -15,7 +15,7 @@ vendor/ /plugins/ # The theme is probably managed in its own repo. -themes/ +/themes/ # Uploads are... uploads. uploads/ diff --git a/mu-plugins/index.php b/mu-plugins/index.php index 0795553a..f267c783 100644 --- a/mu-plugins/index.php +++ b/mu-plugins/index.php @@ -12,6 +12,8 @@ require_once __DIR__ . '/plugins/indieweb.php'; require_once __DIR__ . '/plugins/micropub.php'; +require_once __DIR__ . '/themes/writemore.php'; + if ( file_exists( __DIR__ . '/local/hacks.php' ) ) { require_once __DIR__ . '/local/hacks.php'; } diff --git a/mu-plugins/themes/writemore.php b/mu-plugins/themes/writemore.php new file mode 100644 index 00000000..fcdcbef3 --- /dev/null +++ b/mu-plugins/themes/writemore.php @@ -0,0 +1,19 @@ +