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:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user