• Resolved marklein

    (@marklein)


    When using the option to show categories it always adds the URL link, can it be configured to show ONLY the category name without linking it? Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter marklein

    (@marklein)

    To answer my own question, I did the following.

    Added to the filter code
    $terms = get_the_terms( get_the_ID(), 'MY_CATEGORY' );

    and then where I wanted the output
    $terms[0]->name

Viewing 1 replies (of 1 total)
  • The topic ‘Disable link on categories’ is closed to new replies.