changing posts, categories, pagination and sidebar