Related posts by custom taxonomy created with Pods

Hi. I would be very grateful if you can help me. With Pods I created custom taxonomy “store” and I am trying to display related posts by custom taxonomy created with pods plugin. It means that on every post page I need to display related posts from the same taxonomy term like the current post.

Author of my theme created some additional post taxonomy “dealstore”. I edited template for related post to dispaly related posts from this taxonomy “dealstore”. It works well. But when I try do the same for my custom taxonomy “store” created with Pods plugin, No related posts are displayed.

Bellow is the beginning of code from my related post template which works well. But when I overwrite “dealstore” with my custom taxonomy “store” created with Pods plugin, it doesn’t work. Please, can you look at that code. What can I do to make it work with my custom taxonomy created with Pods?

There’s no difference with a Custom Taxonomy created with Pods and a regular registered taxonomy. First question: is this taxonomy ‘store’ associated to the ‘post’ post-type? That’s being limited in your query specifically to post-type: post, so that would be a factor.

And it looks like you only want to show posts that have some terms in ‘store’ that are the same as the current post. Are you getting any errors from your script? Have you turned on Debug in WordPress to see if your code is throwing any warnings? It’s also really hard to read your code since you didn’t enclose it in ‘code’ blocks to delineate it in the post above.