just go with a Logitech Harmony of your choice. best remotes on the planet IMO. all you have to do is search for the device and it auto loads whatever IR codes it needs. plus you can customize the hell out of it.
also a trick for when you program a Harmony. its best to setup an "activity" in which you can tell it to control your WDTV, receiver and TV if you like, all at once without switching back and forth. so basically you tell it that when you press volume up or down, to send a signal to the receiver, but when you use the arrow keys or the Enter/OK button to send the signal to the WDTV.
the only real downside is getting the power on function to work right for activities. for example if your TV is already on, and you select another activity that uses the TV, it will often tell the TV to actually turn off, rather than simply making sure its on and doesnt go off. at least i havent been able to get it to work right, so i just power on/off everything separately and use the activities just for controlling.
also same thing goes for making the TV change to the correct channel/input for whatever device. at least the way Sharp Aquos TVs have their inputs set up, it ends up changing it to the wrong input when i switch activities so i just dont bother with it.
but despite that Harmonies are excellent remotes and Logitech continually updates their IR code database so that you can control literally just about any device or appliance on the planet that uses IR. like even if you had a ceiling fan with IR you could control that.