WordPress.org

Ready to get started?Download WordPress

Forums

Get the permalink of a custom post type archive page (2 posts)

  1. bibichette
    Member
    Posted 2 years ago #

    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.

  2. bibichette
    Member
    Posted 2 years ago #

    up

Topic Closed

This topic has been closed to new replies.

About this Topic