Theme selection based on post category and post id