function gtags_make_tags_for_group()
{
    global $bp, $wpdb;
    $group_tags = gtags_get_group_tags();
    $items = explode(",", $group_tags);
    $output = '';
    foreach ($items as $item) {
        $item = trim(strtolower($item));
        if ($item == '') {
            continue;
        }
        $link = $bp->root_domain . '/' . BP_GROUPS_SLUG . '/tag/' . urlencode($item);
        $output .= ' <a href="' . $link . '">' . $item . '</a> ';
    }
    return apply_filters('gtags_make_tags_for_group', $output, $items);
}
Exemplo n.º 2
0
function gtags_make_tags_for_group()
{
    global $bp, $wpdb;
    $group_tags = gtags_get_group_tags();
    $items = explode(",", $group_tags);
    $output = '';
    foreach ($items as $item) {
        $item = trim(strtolower($item));
        if ($item == '') {
            continue;
        }
        $link = $bp->root_domain . '/projets/tag/' . urlencode($item);
        $output .= ' <a class="etiquette highlight" href="' . $link . '" title="Voir tous les projets ayant pour mots-clés ' . $item . '">#' . $item . '</a> ';
    }
    return apply_filters('gtags_make_tags_for_group', $output, $items);
}