/** * Todo: Make less hackish */ function bp_docs_doc_permalink() { if (bp_is_active('groups') && bp_is_group()) { bp_docs_group_doc_permalink(); } else { the_permalink(); } }
/** * Todo: Make less hackish */ function bp_docs_doc_permalink() { if (bp_is_group()) { bp_docs_group_doc_permalink(); } else { the_permalink(); } }
do_action('bp_docs_loop_additional_th'); ?> </tr> </thead> <tbody> <?php while (have_posts()) { the_post(); ?> <tr> <td> </td> <td class="title-cell"> <a href="<?php bp_docs_group_doc_permalink(); ?> "><?php the_title(); ?> </a> <?php the_excerpt(); ?> <div class="row-actions"> <?php bp_docs_doc_action_links(); ?> </div>