Hi there,
Apologies in advance for this being a long post – it’s a confusing issue. I hope the extra detail might be useful.
I created a set of hooked elements to add content above each of my category pages & my posts page using Kadence rows and sections. I’ve got the premium version of both Kadence Theme and also Kadence Blocks Pro installed.
They all worked fine. Then, I noticed that the text link had changed color. I suspect after one of the recent updates. But I was slow to notice.
So, I went through and found the issue – it was with the row element overlaying a color to links.
I fixed all of the hooked elements that had this issue. Cleared all my site’s caching and expected the color to change back.
Instead, what happened was that every hooked elements being applied to category pages broke entirely. Display settings were set to show on category archives, then set to individual categories. Placement is set to “Replace Above Content Hero”.
They went from this (fine):
*Login to see link
To this (broken):
*Login to see link
During my troubleshooting process, I noticed that the hooked element being add to my posts page was working fine. To rule out any hooked element having different settings, I tried adding the posts page element to category pages – they broke in the same way as before. This shows that there’s not an issue with any of the block settings within the elements.
Then, I tried changing the display settings to the 404 error page. The hooked element displayed without any issues there. I changed back to displaying via specific categories and changed the placement to ‘before content’ – and the element failed to display correctly (it looked similar to the example screenshot above).
This leads me to believe there is a glitch with displaying hooked elements on category archives specifically. Particularly when placement is set to ‘replace above content hero’.
Do you have any ideas as to how we can fix this?
Since my site is live, I’ve changed the problematic hooked elements to ‘pending review’ and reverted my category pages back to their default layout. So I can’t show you a live example of this right now.
Thanks,
Adam
Note: all plugins and themes are up to date. So is WordPress core.