• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Custom Taxonomies

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Custom Taxonomies

This topic is: resolved

Tagged: CMS, custom, post, taxonomies, Types, Wordpress

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 7 months ago by Porter.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 16, 2015 at 2:31 pm #144667
    Porter
    Participant

    After extensive reading, I think I've finally got my head wrapped around Custom Post Types and Custom Taxonomies. I'd just like to clear a things up, and have a small discussion regarding them.

    First and foremost, if I understand correctly, "Categories" are a hierarchical taxonomy that belongs to the "Post" Custom Post Type (technically not custom, but for the sake of clarification I'll call it that), and tags are a non-hierarchical taxonomy belonging to "Post" as well, correct? This means the name of the custom taxonomy is "Category" or "Categories" (not sure which, I forget), and that the "terms" within that taxonomy are whatever categories you create.

    Given this relationship, if I was to have a website with Lodging as a section (the site covers many other topics), how would I handle the relationship between CPT and taxonomies? I would want a CPT to keep things clean, so I would call that CPT Lodging. I would then want the following taxonomies:

    Lodging
    -Hotels
    -Inns
    -Bed And Breakfasts
    -Resorts

    Would naming the custom taxonomy conflict with the CPT name? If so, what's a best practice to get around that? In my example, Lodging is like "Categories" is to "Posts", and the 4 types are the created "Categories". Given this, how would I retain a url structure like so? site.com/lodging/hotels/hotel-name

    I've been trying really hard as of late to wrap my head around all of this (code included), but I have to make sure I get it before I dive in, or I'll just make a mess. Does it seem like I understand everything correctly, or am I off? Do you have anything else to add that might help me?


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 18, 2015 at 7:03 pm #144887
    Porter
    Participant

    Still looking for some info on this!


    Buy me a beer? | Try DigitalOcean VPS Hosting

    March 19, 2015 at 7:13 am #144925
    Winterburn
    Participant

    I got the inquiry like you @Porter


    http://nhatdong.com

    March 19, 2015 at 8:39 pm #144988
    Porter
    Participant

    This is always the trouble with the more advanced topics - they're quite hard to get an answer to. Either way, still looking to have this conversation / get feedback!


    Buy me a beer? | Try DigitalOcean VPS Hosting

    May 10, 2015 at 9:45 am #151498
    Porter
    Participant

    I found my answer here - http://wordpress.stackexchange.com/questions/108642/permalinks-custom-post-type-custom-taxonomy-post


    Buy me a beer? | Try DigitalOcean VPS Hosting

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble