Skip to:
Content
Pages
Categories
Search
Top
Bottom

Displaying cover images in groups widget


  • chinatownlee
    Participant

    @chinatownlee

    Hi,

    thank you for the awesome plugin.

    My goal is to show cover images in the groups widget instead of avatars as I do not use avatars.

    I would display cover images as background-images in the widget area, therefore I need the code for retrieving the url of the cover image of respective group.

    I was looking at class-bp-groups-widget.php

    			<ul id="groups-list" class="item-list" aria-live="polite" aria-relevant="all" aria-atomic="true">
    				<?php while ( bp_groups() ) : bp_the_group(); ?>
    					<li <?php bp_group_class(); ?>>
    						<div class="item-avatar">
    							<a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>"><?php bp_group_avatar_thumb() ?></a>

    but as I have no experience in php it’s quite impossible for me to come up with the solution.

    I look forward to anyone’s kind help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar