Move admin wrapper into if check to avoid empty p tag