WordPress.org

Ready to get started?Download WordPress

Ideas

taxonomy archive template

  1. Ipstenu (Mika Epstein)
    Administrator

    logically posts or custom posts should be available in more than one spot.

    Somehow I think you said that wrong, because by design (and intent and logic) CPTS are separate from posts and pages. Otherwise you would have used them :) I see what you're saying, but basically you're thinking about CPTs the wrong way.

    That's why there's no built-in (though you can implement it) crossover tags and cats, too. You CAN pull normal cats and tags and custom taxonomies into your CPTs, but they will always show up separately and that's by intent.

    It's not how permalinks work, it's how CPTs work.

    Posted: 2 years ago #
  2. Angry Creative
    Member

    12345

    Then we have to say that CPTs are borken by design.

    We want to be able to create SEO friendly permalink structures.

    Custom post types are great for the evolution of WP as a CMS, but it falls flat if you are restricted by stuff liket this.

    Posted: 2 years ago #
  3. Ipstenu (Mika Epstein)
    Administrator

    Just because something doesn't work the way you want it to does not make it broken.

    In this case, you're thinking about CPTs incorrectly, but it's a very logical and understandable confusion. I had the same problem.

    Read Otto's post: http://ottopress.com/2010/wordpress-3-0-and-custom-post-types/

    Posted: 2 years ago #
  4. Angry Creative
    Member

    12345

    Love that blog post, its very "CPT is BETA! FFS!" ;)

    We're just trying to push WP & CPT towards what we consider is the "right" way. And CPT is at the moment.. not 100%. But It's getting there!

    In the end, its Custom POST types, not Custom PAGE types. ;P

    Posted: 2 years ago #
  5. Ipstenu (Mika Epstein)
    Administrator

    Otto wrote that last year, but it serves as a primer.

    Quoth:

    “Custom Post Types” makes the implication that these are “Posts”. They’re not. “Post Type” is really referring to the internal structure of WordPress.

    tl;dr: They're not POSTS, they're post TYPES, and it's not the same thing. Stop thinking of them like normal posts.

    Posted: 2 years ago #
  6. lerizzle
    Member

    first Ipstenu I appreciate all you do for the community but I must say I disagree with you. Well I agree that CPT are not broken. But they do need work.

    CPT are posts. They are different because you can label them differently and you can create a custom post form and change the output. But essentially they are posts, just customized posts.

    The fact that I can't (without plugins or hacks) create,

    mysite.com/movies/horror-films/movie-name

    and I need to have a separate url for movies like

    mysite.com/movie-name

    Is not a great thing. Not broken but not optimal.

    This is the same reason why wp advises against

    /category-name/post-title

    Doing so creates a different regular expression for each post and will kill the server.

    As a CMS, we should be able to have the category(or taxonomy) followed by the post title (or CPT title).

    Don't get me wrong, I love wordpress but CPT need a bit of work.

    Posted: 2 years ago #
  7. Ipstenu (Mika Epstein)
    Administrator

    The fact that I can't (without plugins or hacks) create,

    mysite.com/movies/horror-films/movie-name

    Really? I can.

    1) CPT for movies
    2) SUB CPT for Movies/Horror-Films
    3) Post in the subCPT

    No hack. No plugin. Using CPTs as designed.

    This is the same reason why wp advises against

    /category-name/post-title

    Actually as of 3.3 ... we don't :)

    The whole reason that was advised against had NOTHING to do with SEO (and frankly, SEO doesn't care if your cat name is in the permalink as much as people seem to think it does). No, it was the rewrite backend for permalinks which forced us to say "no, sorry, you shouldn't use Postname either." As of 3.3, the issues have been resolved enough that in most cases, have at.

    CPT are posts.

    No, they're not. They're Post Types. Not posts. Re-read what Otto said. The name is the problem, I agree, but they are are custom "post types" for a reason, and not 'post format' or 'custom post styling' or what have you.

    (They do need work, I agree, but you have to let go of this obsession with thinking of them as POSTS like your normal blog post, or you'll never figure out how to use them (a) as intended and (b) to meet YOUR needs.)

    Posted: 2 years ago #
  8. lerizzle
    Member

    thanks,

    I can't wait for 3.3.

    I will try what you say about the URL but I killed myself trying to make it work and it just wasn't working for me and I looked everywhere online and everyone had the same issue.

    so if you are saying that all the URL's we talked about work with custom taxonomies and custom post type I will go back to the drawing board.

    Posted: 2 years ago #
  9. lerizzle
    Member

    Re-read what Otto said.

    What did he say?

    Posted: 2 years ago #
  10. Ipstenu (Mika Epstein)
    Administrator


RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    11 Votes
  • Status

    This idea has been implemented