• Hi,

    In some template, I want to display a link to the archive page of my portfolio custom post type. But I don’t know how ?

    <a href="/portfolio/">Portfolio</a>
    It’s bad as the user may not use rewriting.

    <a href="'.get_permalink(???).">Portfolio</a>

    regards,
    Julien C.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get the permalink of a custom post type archive page’ is closed to new replies.