get_permalink not working in child theme? (1 post)

  1. heyDude
    Posted 1 year ago #

    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 likewww.yoursite.com/uncategorized/postname instead it should show www.yoursite.com/london/category/postname. Can anyone please help?

Topic Closed

This topic has been closed to new replies.

About this Topic