feat(nav): full-push menu_search types, senior arrangement, CSS polish
- Menu search panel type chips when multi-type search enabled - Graphic card arrangement (wrap/swiper) in senior menu editor - Nav utility CSS: avatar, sub-user width, type chips, mid fold visibility
This commit is contained in:
1 parent
159a12c481
commit
147fd6eaf7
5 files changed
+80
-2
No files matched your search
@@ -81,6 +81,19 @@ if (!function_exists('aksrt_get_menu_search_panel_html')) :
|
||||
$out .= '</div></div>';
|
||||
}
|
||||
|
||||
// Search type chips (when multi-type search enabled).
|
||||
$types = [];
|
||||
if (function_exists('aksrt_get_search_type_options')) {
|
||||
$types = aksrt_get_search_type_options();
|
||||
}
|
||||
if (is_array($types) && count($types) > 1) {
|
||||
$out .= '<div class="aksrt-menu-search-types flex jc mb10">';
|
||||
foreach ($types as $k => $label) {
|
||||
$out .= '<a href="javascript:;" class="but" data-aksrt-menu-search-type="' . esc_attr((string) $k) . '">' . esc_html((string) $label) . '</a>';
|
||||
}
|
||||
$out .= '</div>';
|
||||
}
|
||||
|
||||
// Hot keywords.
|
||||
if ($show_keywords) {
|
||||
$hots = function_exists('aksrt_get_search_hot_keywords') ? aksrt_get_search_hot_keywords() : [];
|
||||
|
||||
Reference in new issue
Block a user