Never mind. Tried it again and it worked.
Thanks for responding so quickly. It was the WordPress cache.
I have the same issue, but removing everything from part-related.php doesn’t work. It’s very frustrating, as I already have a plugin that does this very well, and I can’t use it.
That was the problem – as soon as I cleared my cache, it was fine.