• 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

Display custom taxonomies in custom post types

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 › General Genesis Framework Discussions › Display custom taxonomies in custom post types

This topic is: not resolved

Tagged: Custom Post Type, custom taxonomies, get_term_link, get_terms, post_terms

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 18, 2021 at 11:12 am #503510
    calculator.ltd
    Participant

    Hi,

    I have a CPT: "Business"

    And custom taxonomies: "Location", "Category"

    I need to display at the top/bottom of each "Business" post
    'Location: [All locations it's in]'
    'Category: [All categories it's in]'

    They terms needs to be clickable and link to the corresponding pages

    I know this is really simple for normal posts with the Genesis Simple Edits plugin

    I've played around with some code, but can't seem to get it right

    Any help would be great

    Thanks

    March 20, 2021 at 6:14 am #503525
    calculator.ltd
    Participant

    Anybody?

    I've tried lots different bits of code, but it doesn't seem to work...

    April 6, 2021 at 7:19 am #503691
    calculator.ltd
    Participant

    Hi - still stuck with this, if anybody could help it would be great

    Thanks in advance

    August 30, 2021 at 1:58 pm #504428
    JoelCantero
    Participant

    Anyone has a solution for this problem?

    August 31, 2021 at 3:18 am #504429
    autodeskinventor
    Participant

    i also tried so many times but no result. reply by Autodesk Inventor

    November 8, 2021 at 7:51 am #504566
    Brad Dalton
    Participant

    Try get_terms with get_term_link https://developer.wordpress.org/reference/functions/get_terms/

    Or

    You could try the [post_terms] shortcode which uses get_the_term_list with the genesis_post_meta filter.


    Tutorials for StudioPress Themes & WooCommerce.

    February 18, 2022 at 3:06 am #504731
    Grens1942
    Participant
    This reply has been marked as private.
  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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