I am using WordPress multi-site functionality and making a child theme out of the parent theme. The problem is that has_post_thumbnail is not working as well as the get_permalink. If I use
echo get_permalink($post->ID); it doesn't show anything, if I use
echo get_permalink(); it shows wrong url like
www.yoursite.com/uncategorized/postname instead it should show
www.yoursite.com/london/category/postname. Can anyone please help?