GeoDirectory SupportHeader Login Widget Question – GeoDirectory Support https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/feed Tue, 31 Mar 2026 00:04:40 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5205 <![CDATA[Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5205 Fri, 20 Jun 2014 03:21:46 +0000 directory Is there a plugin I can use on my GD site to have a login/logout (My Account) header menu like the one we see here at wpgeodirectory.com?

]]>
https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5213 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5213 Fri, 20 Jun 2014 05:39:56 +0000 Vikas Hi,

No there is not such plugin at this moment.

]]>
https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5240 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5240 Fri, 20 Jun 2014 09:37:54 +0000 Stiofan O'Connor our GDF theme has similar functionality.

Thanks,

Stiofan

]]>
https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5268 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5268 Fri, 20 Jun 2014 13:43:16 +0000 directory Hi Stiofan,

Where or how can I use that functionality like the My Account menu we now see here at the top navigation?

]]>
https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5269 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5269 Fri, 20 Jun 2014 13:49:09 +0000 Stiofan O'Connor sorry i thought you were referring to the mobile view menu we have here and on GDF

Stiofan

]]>
https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5288 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-5288 Fri, 20 Jun 2014 15:08:41 +0000 directory https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-13366 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-13366 Wed, 27 Aug 2014 17:37:20 +0000 bloglocal I have the same question. I would love to be able to put a login on the top of my theme with the GDF theme.

]]>
https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-13374 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-13374 Wed, 27 Aug 2014 17:54:05 +0000 bloglocal Do you think this plugin would work? https://wordpress.org/plugins/sticky-header/

]]>
https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-13548 <![CDATA[Reply To: Header Login Widget Question]]> https://wpgeodirectory.com/support/topic/my-account-loginlogout-question/#post-13548 Thu, 28 Aug 2014 17:46:44 +0000 directory 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.

]]>