Skip to content

Commit

Permalink
Merge pull request #197 from mediasanctuary/main
Browse files Browse the repository at this point in the history
v2024-11-27+2
  • Loading branch information
dphiffer authored Nov 27, 2024
2 parents 4837efe + f848802 commit 7740cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/mediasanctuary/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ function is_story_post($post) {
}

add_filter('the_title', function($title, $post) {
if (get_field('special_episode', $post)) {
if (!is_admin() && get_field('special_episode', $post)) {
return get_field('special_episode_title', $post);
}
return $title;
Expand Down

0 comments on commit 7740cb3

Please sign in to comment.