whirlpool washer

control issues-start cycle,washes ok,but then starts to spin, no rinse cycle,jumps from 26 mins. to 4 mins. sometimes LD code shows. sometimes takes 2 hrs. for 1 load. please any input could help!

This sounds very much like your main control unit has failed, this part here

AP4360738

Your machine has a very complex set of diagnostics and test procedures, so use this tech sheet to see if you can generate any diagnostics

http://www.servicematters.com/docs/wiring/Tech%20Sheet%20-%208567037.pdf