Hi everyone
Can someone help me please, I have been going around in circles for weeks.

I am trying to find the parents of William Earnshaw born 1814 Halifax. I know his father is called John as I have Williams marriage certificate and details on this are as follows:
10 March 1839 Parish Church of BirstallWilliam Earnshaw of full age bachelor, Ropemaker, Residence Tong, father John Earnshaw, Whitesmith
married
Mary Gomersal, spinster, residence Gildersome, father William Gomersall, clothier
Witnesses George Bromley & Joseph Woodcock
On the 1851 & 1861 census his birthplace is listed as Gomersall? On the IGU the only birth I can find where the fathers name is John is Halifax?
Can anyone help me please?
Thanks
Amanda