Main wp theme functionality