fix(frontend): close single 1:1 residuals without legacy paths
Unify TOC ownership, real video episode list, slider overlay, single-query related list, Zibll user-card after-box, and new-route subtitle/meta contracts.
This commit is contained in:
1 parent
48f7436030
commit
5ce43c4326
10 files changed
+1373
-1298
No files matched your search
@@ -22,7 +22,12 @@ if (!function_exists('aksrt_get_the_subtitle')) :
|
||||
if ($post_id <= 0) {
|
||||
return '';
|
||||
}
|
||||
$subtitle = trim((string) get_post_meta($post_id, '_subtitle', true));
|
||||
// New route: subtitle lives in AKSRT_Post_Meta_Box aggregate meta.
|
||||
$subtitle = '';
|
||||
if (class_exists('AKSRT_Post_Meta_Box')) {
|
||||
$meta = AKSRT_Post_Meta_Box::get_meta($post_id);
|
||||
$subtitle = trim((string) ($meta['subtitle'] ?? ''));
|
||||
}
|
||||
if ($subtitle === '') {
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user