Support » Themes and Templates » get_permalink not working in child theme?

  • 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 instead it should show Can anyone please help?

  • The topic ‘get_permalink not working in child theme?’ is closed to new replies.