Added permalinks for post types & media.