Skip to main content
Tweeted twitter.com/#!/StackWordPress/status/302995205643182081
Formatting and markdown. Removed "thanks" (it's considered noise).
Source Link
brasofilo
  • 22.1k
  • 8
  • 69
  • 264

I have the following custom post typesCustom Post Types which are all linked to a "destination"the destination taxonomy.

Deals Accommodation Attractions Articles

  • Deals
  • Accommodation
  • Attractions
  • Articles

How would I change the taxonomy-destination.phptaxonomy-destination.php file to show matching posts from all 4 post types.

For instance, when currently viewing the destination "los angeles""los angeles", it shows all this content together by date rather than separating in sepearte sections.

I would prefer to have them split, deals at the top, followed by the other content not all mixed together.

How would be best to achieve this?

Thanks Richard

I have the following custom post types which are all linked to a "destination" taxonomy.

Deals Accommodation Attractions Articles

How would I change the taxonomy-destination.php file to show matching posts from all 4 post types.

For instance when currently viewing destination "los angeles" it shows all this content together by date rather than separating in sepearte sections.

I would prefer to have them split, deals at the top, followed by the other content not all mixed together.

How would be best to achieve this?

Thanks Richard

I have the following Custom Post Types which are all linked to the destination taxonomy.

  • Deals
  • Accommodation
  • Attractions
  • Articles

How would I change the taxonomy-destination.php file to show matching posts from all 4 post types.

For instance, when currently viewing the destination "los angeles", it shows all this content together by date rather than separating in sepearte sections.

I would prefer to have them split, deals at the top, followed by the other content not all mixed together.

How would be best to achieve this?

Source Link

Displaying Multiple Post types in Taxonomy

I have the following custom post types which are all linked to a "destination" taxonomy.

Deals Accommodation Attractions Articles

How would I change the taxonomy-destination.php file to show matching posts from all 4 post types.

For instance when currently viewing destination "los angeles" it shows all this content together by date rather than separating in sepearte sections.

I would prefer to have them split, deals at the top, followed by the other content not all mixed together.

How would be best to achieve this?

Thanks Richard