A compact pattern diversity patch antenna working at 5.8 GHz is proposed. The patch antenna has two ports, which are responsible for the broadside radiation and omni‐directional radiation, respectively. The broadside radiation is achieved by inserting a substrate slot‐loaded integrated waveguide (SIW) cavity at the center of the patch antenna, and the omni‐directional pattern is realized by exciting the shorted patch in‐phase from both sides of the SIW cavity. Although the two operating modes share the same radiator, but a high isolation of over 30 dB is achieved, due to the cancellation of current at the inputs. In addition, two approaches are investigated to enhance the operation bandwidths. The pattern diversity antenna is prototyped and measured, showing an impedance bandwidth of 5.69–5.92 GHz for both modes/channels, and a high inter‐channel isolation over 30 dB, making it suitable for indoor wireless communication systems.