How to link to post type archive from single post type (2 posts)

  1. bazel
    Posted 4 years ago #

    How can I get the link to post type archive when Im on single post type. Cant find simple solution

    example: viewing single post type movies - get link to archive page for movies


  2. lonniea
    Posted 4 years ago #

    this depends on how you have your blog structured with your permalinks. if you create a category on movies as an example, you could link you visitors to this category.

    another way is through tags, however this may be harder to manage depending on your skill level.

    the best way is to create a category called movies (whatever) and next go to your settings in your navigation menu go to permalinks and add this line. /%category%/%postname%/

    whenever you post a movie article place the post in the movie category. now you can redirect all you visitors to 1 archive.

Topic Closed

This topic has been closed to new replies.

About this Topic