Loop for custom-post-type comparing taxonomy terms for “related” posts? Thank you, perfect. One more question. Is it possible to rewrite the function so, that I have an if-statement in there that returns false if no posts where matched? So I want to use the function in a second different manner. See my update in the question. -> So I don't want to print the section "Related Projects" if there are no projects matched.
Custom Loop for custom post type. Compare by meta_value? Thank you, however still no luck. Again no posts are returned. See my update above. Is this the right way I'm using this meta_query? I'll try the Debug Bar plugin tomorrow. Thank you in the meantime. Please make sure to check back here :)