I have a hydrangea that bloomed for years but since I moved it 4 years ago, it has not bloomed with the same care as before.
Certified GKH Gardening Expert
You may be lacking phosphorus. If there is a lack of phosphorus in the soil, plants will have little to no blooms. You can either use a phosphorus rich fertilizer or add some bone meal to the soil. These articles may help as well: https://www.gardeningknowhow.com/ornamental/shrubs/hydrangea/hydrangea-not-blooming.htm