• forgetcolor

    (@forgetcolor)


    I’d like to get the parent’s slug name. I guess I need something like get_the_title($post->post_parent), except instead of the title I want the slug. get_the_slug($post->post_parent) would be the obvious choice but it doesn’t exist.

    ideas? thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How can i get the parent slug?’ is closed to new replies.