feat(widgets): simplify locations and paid sidebar

Remove deprecated widget locations and widgets, standardize sidebar labels, and render a compact paid-post purchase card in the article sidebar.
This commit is contained in:
2026-08-14 01:49:50 +08:00
parent 51d2ab3aa7
commit bd7d3046a5
43 changed files with 294 additions and 3581 deletions
-3
View File
@@ -153,7 +153,6 @@ if (!function_exists('aksrt_homepage_has_sidebar')) {
'all_sidebar_top',
'home_sidebar',
'all_sidebar_bottom',
'sidebar-blog',
]);
}
}
@@ -175,8 +174,6 @@ if (!function_exists('aksrt_homepage_render_sidebar')) {
if (is_active_sidebar('home_sidebar')) {
dynamic_sidebar('home_sidebar');
} elseif (is_active_sidebar('sidebar-blog')) {
dynamic_sidebar('sidebar-blog');
}
if (is_active_sidebar('all_sidebar_bottom')) {