/
/
home
/
melaqxso
/
nymetrocualumni.com
/
wp-content
/
plugins
/
hub-core
/
shortcodes
/
header-dropdown
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.61
PHP 7.4.33
Dir:
/home/melaqxso/nymetrocualumni.com/wp-content/plugins/hub-core/shortcodes/header-dropdown
Edit:
/home/melaqxso/nymetrocualumni.com/wp-content/plugins/hub-core/shortcodes/header-dropdown/view.php
<?php extract( $atts ); $items = vc_param_group_parse_atts( $items ); $classes = array( 'ld-dropdown-menu', 'd-flex', $hover_style, $this->get_id() ); $dropdown_id = uniqid( 'dropdown-' ); $this->generate_css(); ?> <div class="header-module"> <div id="<?php echo $this->get_id() ?>" class="<?php echo ld_helper()->sanitize_html_classes( $classes ) ?>"> <span class="ld-module-trigger" role="button" data-ld-toggle="true" data-toggle="collapse" data-target="<?php echo '#' . $dropdown_id; ?>" aria-controls="<?php echo $dropdown_id ?>" aria-expanded="false" data-toggle-options='{ "type": "hoverFade" }'> <span class="ld-module-trigger-txt"><?php if( !empty( $trigger_label ) ) { ?><?php echo esc_html( $trigger_label ); ?><?php }; ?> <?php $this->get_the_icon(); ?></span> </span> <div class="ld-module-dropdown left collapse" id="<?php echo $dropdown_id ?>" aria-expanded="false"> <div class="ld-dropdown-menu-content"> <?php if( 'wp_menus' === $source ) : ?> <?php if( is_nav_menu( $menu_slug ) ) { wp_nav_menu( array( 'menu' => $menu_slug, 'container' => 'ul', 'menu_id' => false, 'before' => false, 'after' => false, 'link_before' => '', 'link_after' => '', 'menu_class' => false, 'depth' => 1, 'walker' => class_exists( 'Liquid_Mega_Menu_Walker' ) ? new Liquid_Mega_Menu_Walker : '', ) ); } else { wp_nav_menu( array( 'container' => 'ul', 'container_id' => false, 'before' => false, 'after' => false, 'link_before' => '', 'link_after' => '', 'menu_class' => false, 'depth' => 1, 'walker' => class_exists( 'Liquid_Mega_Menu_Walker' ) ? new Liquid_Mega_Menu_Walker : '', )); }; ?> <?php else: ?> <ul> <?php foreach ( $items as $item ) { if ( empty( $item['url'] ) ) { continue; } $attr = array( 'href' => esc_url( $item['url'] ), 'target' => '_blank' ); printf( '<li><a%s>%s</a></li>', ld_helper()->html_attributes( $attr ), esc_html( $item['label'] ) ); } ?> </ul> <?php endif; ?> </div> </div> </div> </div>
Ukuran: 2.2 KB