WordPress.org

Ready to get started?Download WordPress

Forums

CPT-onomies: Using Custom Post Types as Taxonomies
[resolved] Neewbe Taxonomie and CPT-onomies (2 posts)

  1. AvdDecken
    Member
    Posted 1 year ago #

    Hello,
    my aim is to have post type "publisher" as taxonomie for post type "books", in order to be able to select publisher for each posting for books.

    I have created two custom post types "publisher" and "book". Than I have registered "publisher" as cpt-onomie to "books".

    But than i got stucked. What means "Has Archive Page" and "Archive Page Slug"?

    Could you please help. Thanks a lot.

    http://wordpress.org/extend/plugins/cpt-onomies/

  2. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

    "Has Archive Page" refers to whether or not you want an archive page for your CPT-onomy. An archive page is a page on your site that lists all of the posts that are tagged by a specific CPT-onomy term.

    If you set "Has Archive Page" to true, then you have the option of customizing the "Archive Page Slug", which is basically the URL for your archive page. You do not have to define this property. If you leave it blank, your archive page slug will be set as http://yourwebsite.com/publisher/tax/{specific term slug}.

    You can use the variables $post_type, $term_slug and $term_id to customize your slug. For example, if you'd rather the URL be "htt://mywebsite.com/publisher/archive/{specific term ID} just enter "$post_type/archive/$term_id".

    I hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.