GeoDirectory Supporthide loginbox on mobile – GeoDirectory Support https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/feed Thu, 12 Mar 2026 02:53:47 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41760 <![CDATA[hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41760 Sun, 07 Jun 2015 13:52:39 +0000 Joel Is there a way to hide loginbox when its accessed on a mobile device? The widget looks ugly on mobile and I definitely prefer the menu icon.

Thanks!

-Joel

]]>
https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41763 <![CDATA[Reply To: hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41763 Sun, 07 Jun 2015 14:12:22 +0000 Simone Hi Joel, you can achieve this using the plugin Widget Logic, here https://wordpress.org/plugins/widget-logic/ .
Once you install it, go to your Loginbox widget and add the following condition in the logic area

!wp_is_mobile()

this will show the widget only on “not mobile” devices

]]>
https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41765 <![CDATA[Reply To: hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41765 Sun, 07 Jun 2015 14:50:54 +0000 Joel This didn’t seem to work. I can still see the loginbox on my iphone.

]]>
https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41766 <![CDATA[Reply To: hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41766 Sun, 07 Jun 2015 15:16:01 +0000 Simone hmmm…try with the following

(wp_is_mobile()==false)

remember to delete your cache

]]>
https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41768 <![CDATA[Reply To: hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41768 Sun, 07 Jun 2015 16:04:31 +0000 Joel https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41808 <![CDATA[Reply To: hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41808 Mon, 08 Jun 2015 17:03:57 +0000 Simone Ok, now I had the chance to test it, with the following you’ll do the trick ((tested))

! wp_is_mobile()
]]>
https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41818 <![CDATA[Reply To: hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41818 Mon, 08 Jun 2015 17:31:32 +0000 Joel https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41855 <![CDATA[Reply To: hide loginbox on mobile]]> https://wpgeodirectory.com/support/topic/hide-loginbox-on-mobile/#post-41855 Mon, 08 Jun 2015 23:11:38 +0000 Simone I’m glad 🙂 you’re welcome

]]>