styling cleanup and other wordpress functions