true, 'icp_number' => '', 'police_enabled' => true, 'police_number' => '']; $icp_number = $filing['icp_enabled'] ? $filing['icp_number'] : ''; $police_number = $filing['police_enabled'] ? $filing['police_number'] : ''; $footer_text = $has_settings ? AKSRT_Settings::footer_text() : ''; // 版权文案 $copyright_text = $has_settings ? AKSRT_Settings::get_copyright_text() : ''; // 页脚布局模板 $footer_layout = $has_settings ? AKSRT_Settings::get_footer_layout_template() : 'default'; // §2.3 三列结构化字段 $footer_brand = $has_settings ? AKSRT_Settings::get_footer_brand_settings() : ['m_s' => ['pc', 'mobile'], 'img' => '', 'img_dark' => '', 'title' => '', 'custom_code' => '']; $footer_contact_ext = $has_settings ? AKSRT_Settings::get_footer_contact_extended_settings() : ['m_s' => ['pc', 'mobile'], 'wechat_img' => '', 'qq' => '', 'weibo' => '', 'email' => '', 'more' => [], 'code_1' => '', 'code_2' => '']; $footer_mini = $has_settings ? AKSRT_Settings::get_footer_mini_img_settings() : ['m_s' => ['pc', 'mobile'], 'items' => []]; $footer_customize_code = $has_settings ? AKSRT_Settings::get_footer_customize_code() : ''; // 品牌列设备可见性 $_brand_show_pc = in_array('pc', $footer_brand['m_s'], true); $_brand_show_sm = in_array('mobile', $footer_brand['m_s'], true); $_brand_vis_cls = ''; if ($_brand_show_pc && !$_brand_show_sm) $_brand_vis_cls = ' hide-on-mobile'; elseif (!$_brand_show_pc && $_brand_show_sm) $_brand_vis_cls = ' hide-on-desktop'; // 联系区设备可见性 $_contact_show_pc = in_array('pc', $footer_contact_ext['m_s'], true); $_contact_show_sm = in_array('mobile', $footer_contact_ext['m_s'], true); $_contact_vis_cls = ''; if ($_contact_show_pc && !$_contact_show_sm) $_contact_vis_cls = ' hide-on-mobile'; elseif (!$_contact_show_pc && $_contact_show_sm) $_contact_vis_cls = ' hide-on-desktop'; // 二维码组设备可见性 $_mini_show_pc = in_array('pc', $footer_mini['m_s'], true); $_mini_show_sm = in_array('mobile', $footer_mini['m_s'], true); $_mini_vis_cls = ''; if ($_mini_show_pc && !$_mini_show_sm) $_mini_vis_cls = ' hide-on-mobile'; elseif (!$_mini_show_pc && $_mini_show_sm) $_mini_vis_cls = ' hide-on-desktop'; /** * 渲染快速链接 URL:支持外链 / 站内相对路径 */ $render_link_url = function ($raw) { if (empty($raw)) return '#'; if (strpos($raw, 'http') === 0) return esc_url($raw); return esc_url(home_url($raw)); }; ?>
> > >
<?php esc_attr_e('微信二维码', 'aksrt'); ?>

aria-label="">
QQ

QQ:

>
>

>
>