Support » Plugin: Custom Post Type UI » Disable Taxonomy Link

Viewing 5 replies - 1 through 5 (of 5 total)
  • Actually i want do for my some taxonomies. I have 7 taxonomies and i want to disable 2 taxonomies link…

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    So you’re wanting to display the taxonomy terms for a given post, but not have them be linked to their term archives?

    Hi,
    sorry to late reply your answer. Yes, just taxonomy terms.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    My best suggestion is going to be editing the templates involved and utilizing something like https://developer.wordpress.org/reference/functions/get_the_terms/

    You’ll need to find a way to best separate out which taxonomies you want to do this for, and then use the function linked above to get the list of terms associated to that post, and iterate over the results. You should be able to output the term names without creating links to the archives as well this way.

    Hopefully you’re developing your own custom theme for this, or at least have a child theme in place in case you’ve purchased or downloaded one. That way you could safely override as necessary.

    Ok, thanks and also million thanks for your great plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable Taxonomy Link’ is closed to new replies.