• Resolved Ahni

    (@ahni)


    Hey there. I’ve been waiting for a plugin like this for ages!! Thank you,

    I’m wondering though, is there a way to display relevant term groups on my term pages (NB: I’m using the plugin to create groups in a non-hierarchical taxonomy). For example, if I’m on the term page for “apples” which I assigned to the group “red” can I show all the terms in “red”. If possible, I need a way to do this ‘automatically’ because I have about 20 different term groups and 400 terms. Thanks!

    https://www.ads-software.com/extend/plugins/tag-groups/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Ahni,
    Could you please try the following code in your theme page that displays the tags (possibly ‘archive.php’):

    $term = get_queried_object();
    echo tag_groups_cloud( array( 'include' => $term->term_group, 'show_tabs' => 0 ) );

    This is supposed to show a simple tag cloud (without a tab – or set show_tabs to 1) for the group that the presently displayed tag is in.

    Thread Starter Ahni

    (@ahni)

    Chris, you are awesome! ?? It worked perfectly with the code you provided.

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Tag Groups] can I display term groups on term pages’ is closed to new replies.