An admin statement in some code is messing with my css
-
I am using an “if ( ! is_admin() )” statement in some GeoIP code and it is messing with my custom “.menu” and “.top-widget” css values. What can I do do change this? The GeoIP code is in my Snippets plugin and that section of the code is…
// BEGIN GEOIP REDIRECT function country_geo_redirect() { if ( ! is_admin() ) { $country = getenv('HTTP_GEOIP_COUNTRY_CODE');…code continues
The topic ‘An admin statement in some code is messing with my css’ is closed to new replies.