tag is not working in wordpress like it is supposed to.
When I add tag to a custom post type it shows up in tags list and the relationship can be seen in the
term_relationships table and the tags are seen in the posts when I edit the page.But the post count for tag remains zero and the link of the tag does not give me the posts related to the tags.For example
does not give me the posts related to this tag.
I have tried this manually as in i have used these also wp_insert_term and wp_set_post_term and the problem is same. this problem is only when I use custom post type.But when I use post type:post.This works perfectly.Is there somethig that I am missing? Thanks in advance