fix(widgets): render article sidebar by viewport CSS
This commit is contained in:
1 parent
224797cc39
commit
f8dd319524
3 files changed
+9
-4
No files matched your search
@@ -52,7 +52,7 @@ if (!function_exists('aksrt_single_render_aside')) :
|
||||
* @param array<string,mixed> $ctx Single context.
|
||||
*/
|
||||
function aksrt_single_render_aside(array $ctx): void {
|
||||
if (empty($ctx['show_aside']) || wp_is_mobile()) {
|
||||
if (empty($ctx['show_aside'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user