I don't think you get taught it during PPL training. I didn't.
By jammed trim I presume you mean jammed elevator? Trim would be the way to deal with that. Jammed trim would just mean having to use a lot of effort with the elevators.
If your ailerons are jammed, use the rudder, but only gently, like 15 degrees. Yaw causes roll, roll causes yaw as you know, but you don't want to go overboard and end up in a spiral dive with half your primary controls out the window.