wordpress function to get sinular <-> singular link between page and tax