Please allow me to share what I did on my site using GDF and the first child theme provided by the GD developers. No guarantees it will work on yours but I hope this helps.
In theme’s functions.php:
/*
Add My Account Menu Dropdown
*/
function add_my_account_menu($items, $args){
$location = $args->theme_location;
$geodir_theme_location = get_option(‘geodir_theme_location_nav’);
if ( has_nav_menu( $location )==’1′ && is_array($geodir_theme_location) && in_array($location,$geodir_theme_location) ) {
$items .= ‘<li id=”custom-my-account” class=”menu-item”>
My Account
‘;
}
return $items;
}
add_filter(‘wp_nav_menu_items’,’add_my_account_menu’, 110, 2);
Then in GDF Options – JS Code:
jQuery(document).ready(function(){
jQuery(“#custom-my-account”).append(“<ul class=’sub-menu’><li class=’menu-item’></item>“);
jQuery(“#geodir_loginbox-6”).appendTo(“#custom-my-account .menu-item”).show();
});
What the code does is it moves the My Account loginbox from footer to the menu, so:
1) you have to add first the “GD Loginbox” widget to footer (GD Footer 4 in our case).
2) make sure that the ID (#geodir_loginbox-6)of the widget is correct.
3) you should create/modify its CSS too to match your theme. I put mine in GD – Quick Code – CSS Code.
See attached screenshot.