Check if Device is Mobile

Check if Device is Mobile

With this snippet you’re able to check if the coming user on your website is using a phone/mobile or not. This function will return True or False so that you can detect it. If response is Tru

Continue Reading
Check if Sidebar has Widgets

Check if Sidebar has Widgets

With this Snippet and code, you can easily check if any specific sidebar or widget area has any widget in it or not. This can be useful if you want to hide that widget area if there’s no widg

Continue Reading