Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BuddyPress-Links 0.3 FINAL is here at last


MrMaz
Participant

@mrmaz

@Symm2112

Shortcodes are for embedding in posts, did you mean template tag?

Here is the code that “should” work to do what you want, but I have not tested it.

<?php
if ( bp_has_links( array( 'newest', 'per_page' => 3, 'category' => $your_category_id ) ) ) {
while ( bp_links() ) {
bp_the_link();
// you will need to output your custom HTML here based on
// what you need from links-loop-item.php
}
}
?>

Skip to toolbar