Skip to main content
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Source Link

I have two custom post types

  • Hotels
  • Things to do

And I have two taxonomies

  • Activities
  • Regions

So when a user sees a Hotel (custom post): the user can then see

  • the region it's in
  • what activities they can do.

And viceversa as well

When the user sees Things To Do, he can see in which Region it is and what Hotels have the same type of Activity nearby.

The problem if I use two custom post type and create a taxonomy for it, I have no way of discerning each taxonomy related to a custom post:

Example: Hotels in X Region

I would get both the Hotels and Things to do custom post, within that taxonomy.


It's basically the same issue as this questionas this question (which doesn't have any great answer).

I have two custom post types

  • Hotels
  • Things to do

And I have two taxonomies

  • Activities
  • Regions

So when a user sees a Hotel (custom post): the user can then see

  • the region it's in
  • what activities they can do.

And viceversa as well

When the user sees Things To Do, he can see in which Region it is and what Hotels have the same type of Activity nearby.

The problem if I use two custom post type and create a taxonomy for it, I have no way of discerning each taxonomy related to a custom post:

Example: Hotels in X Region

I would get both the Hotels and Things to do custom post, within that taxonomy.


It's basically the same issue as this question (which doesn't have any great answer).

I have two custom post types

  • Hotels
  • Things to do

And I have two taxonomies

  • Activities
  • Regions

So when a user sees a Hotel (custom post): the user can then see

  • the region it's in
  • what activities they can do.

And viceversa as well

When the user sees Things To Do, he can see in which Region it is and what Hotels have the same type of Activity nearby.

The problem if I use two custom post type and create a taxonomy for it, I have no way of discerning each taxonomy related to a custom post:

Example: Hotels in X Region

I would get both the Hotels and Things to do custom post, within that taxonomy.


It's basically the same issue as this question (which doesn't have any great answer).

added 31 characters in body
Source Link
kaiser
  • 50.8k
  • 27
  • 150
  • 244

My first topic here.

The title pretty much says it. I have two custom post types (Hotels and Things to do), and

  • Hotels
  • Things to do

And I have two taxonomies (activities and regions) so

  • Activities
  • Regions

So when a user sees a Hotels Hotel (custom post): the user can then see the region it's in and what activities they can do. And viceversa as well; when

  • the region it's in
  • what activities they can do.

And viceversa as well

When the user sees Things To DoThings To Do, he can see in which regionRegion it is and what hotelsHotels have the same type of activityActivity nearby.

The problem if I use two custom post type and create a taxonomy for it, I have no way of discerning each taxonomy related to a custom post (hotels in X region for example), it:

Example: Hotels in X Region

I would get both the hotelsHotels and things to doThings to do custom post, within that taxonomy.

 

It's basically the same issue as this one below whichas this question (which doesn't have aany great answer:

A shared custom taxonomy between two custom post types).

My first topic here.

The title pretty much says it. I have two custom post types (Hotels and Things to do), and I have two taxonomies (activities and regions) so when a user sees a Hotels (custom post) the user can then see the region it's in and what activities they can do. And viceversa as well; when the user sees Things To Do he can see in which region it is and what hotels have the same type of activity nearby.

The problem if I use two custom post type and create a taxonomy for it, I have no way of discerning each taxonomy related to a custom post (hotels in X region for example), it would get both the hotels and things to do custom post within that taxonomy.

It's basically the same issue as this one below which doesn't have a great answer:

A shared custom taxonomy between two custom post types

I have two custom post types

  • Hotels
  • Things to do

And I have two taxonomies

  • Activities
  • Regions

So when a user sees a Hotel (custom post): the user can then see

  • the region it's in
  • what activities they can do.

And viceversa as well

When the user sees Things To Do, he can see in which Region it is and what Hotels have the same type of Activity nearby.

The problem if I use two custom post type and create a taxonomy for it, I have no way of discerning each taxonomy related to a custom post:

Example: Hotels in X Region

I would get both the Hotels and Things to do custom post, within that taxonomy.

 

It's basically the same issue as this question (which doesn't have any great answer).

Tweeted twitter.com/#!/StackWordPress/status/212719538859552769
Source Link

Two Custom Post Types, Share Two Taxonomies

My first topic here.

The title pretty much says it. I have two custom post types (Hotels and Things to do), and I have two taxonomies (activities and regions) so when a user sees a Hotels (custom post) the user can then see the region it's in and what activities they can do. And viceversa as well; when the user sees Things To Do he can see in which region it is and what hotels have the same type of activity nearby.

The problem if I use two custom post type and create a taxonomy for it, I have no way of discerning each taxonomy related to a custom post (hotels in X region for example), it would get both the hotels and things to do custom post within that taxonomy.

It's basically the same issue as this one below which doesn't have a great answer:

A shared custom taxonomy between two custom post types