fix(single): restore author follow controls
This commit is contained in:
1 parent
71444b139a
commit
8eb62e712b
19 files changed
+261
-615
No files matched your search
@@ -137,23 +137,6 @@ if (!function_exists('aksrt_single_is_docs_page')) :
|
||||
}
|
||||
endif;
|
||||
|
||||
if (!function_exists('aksrt_single_render_author_bar')) :
|
||||
/**
|
||||
* Render author bar from a real args array (no ambient query vars).
|
||||
*
|
||||
* @param array<string,mixed> $args Partial args.
|
||||
*/
|
||||
function aksrt_single_render_author_bar(array $args = []): void {
|
||||
$args = wp_parse_args($args, [
|
||||
'extra_class' => '',
|
||||
'show_actions' => false,
|
||||
'show_bio' => false,
|
||||
'meta_items' => [],
|
||||
]);
|
||||
get_template_part('templates/parts/single-author-bar', null, $args);
|
||||
}
|
||||
endif;
|
||||
|
||||
if (!function_exists('aksrt_single')) :
|
||||
/**
|
||||
* Compose header + article + after-box (legacy equivalent).
|
||||
|
||||
Reference in new issue
Block a user