I have a weird problem: When I echo the $post->post_name on the top of the page, I see the slug of the first post that appears in the loop in the body of the page and not the page’s slug. Why is this happening and how can I get the current page’s slug?[ad_1] Hi I have 3 pages: Home, Discounts (archive page of discount CPT) and Contact.…