Uncorrect / correct post_type

3.07K viewsIssues
0

Dear Rahul,
I need get the post_type before anspress load for my breadcrumb.
When I try get it e.g. exactly after head of page loads, I just get post_type is PAGE.
So I can not recognize post_type as ANSWER or QUESTION, before there is loaded a <div id=”anspress”>.

Have you (anybody) any idea how to get it correctly?

Thank you!