Custom Post Rewrite Nirvana (3 posts)

  1. th3hamburgler
    Posted 6 years ago #

    Custom Post types are a great addition to wordpress however i'm struggling to find a way to achieve nice urls that use custom templates depending on the post type:

    Part 1

    Should display an index of recent customposttype posts

    Should display an archive of customposttype posts

    Should display an archive of customposttype posts in the given category

    Should display an archive of customposttype posts with the given tag

    Should display search results for customposttype posts

    Part 2
    ...so thats stage one, part two involves wp using custom template files to render these pages base on the customposttype.


    • index-customposttype.php
    • archive-customposttype.php
    • category-customposttype.php
    • tag-customposttype.php
    • search-customposttype.php

    I've searched high and low for methods to do this. Found a good plugin to do archive pages, simple-custom-post-type-archives, but a job i'm working on really needs the search and category pages.

    If anyone has any idea on how to go about supporting this please let me know.


  2. th3hamburgler
    Posted 5 years ago #

    Note to self: Do not post forum question on a Friday...

  3. meannastynaughty
    Posted 5 years ago #

    I'm very interested in this, too.
    Especially the category archives for custom post types.
    It's no option to create taxonomies that have the same names as my already existing categories. It's double work and double stuff to care about.

    Best regards

Topic Closed

This topic has been closed to new replies.

About this Topic