I can get the permalink of a specific post tag or category, but what if I want to get the permalink of a custom post type? I can't find anything in the Codex or anywhere else about how to do this.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
How about Further reading: Codex |
|||
|
|
|
I know this post might be old but just in case someone else is searching the function that does this, here's the one i wrote. $post_type must be passed as a variable :)
Hope it helps ! :) |
||||
|
|
|
Within the loop, you can simply use |
|||
|
|
yeah I think you need to display link to display somewhere on site then you need to pass echo get_bloginfo('url')/movie-reviews |
|||
|
|