hi soniaelisabeth, its great that you able to resolve the problem by your self. it seems you have good knowledge about wordpress code.
Thank you 🙂