Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide 'view all matched members' message

  • @applegateian

    Participant

    Hi

    Is there a way to hide the message that says the following:

    Viewing member 1 to 9 (of 9 active members)
    View all 9 matched Members – See more at:

    I’m showing all members on one page and this message is redundant.

    Thanks,

    Ian

Viewing 7 replies - 1 through 7 (of 7 total)
  • @applegateian

    Participant

    Can anyone offer a solution for this?

    Thanks.

    @henrywright-1

    Member

    Hi @applegateian

    Viewing member 1 to 9 (of 9 active members)

    I’m familiar with this text but where does the following text originate from? Are you using a plugin to generate it?

    View all 9 matched Members ā€“ See more at:

    You could hide it with CSS display: none; or remove it at the source, via a filter perhaps.

    @shanebp

    Moderator

    >Iā€™m familiar with this text but where does the following text originate from?

    Look in members-loop.php for class=”pagination”

    Remove it in template over-ride.

    @applegateian

    Participant

    Thanks @shanebp

    I found the following but removing it didn’t take out the line, could it be anywhere other than members-loop.php?

    
    	<div id="pag-bottom" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-bottom">
    
    			<?php bp_members_pagination_count(); ?>
    
    		</div>
    
    		<div class="pagination-links" id="member-dir-pag-bottom">
    
    			<?php bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>

    @applegateian

    Participant

    @henrywright-1 annoyingly it doesn’t have a class round it so I can’t hide it, I don’t know where it is coming from. The HTML is:

    <a href="http://siteurl.com/members/?s=test">View all 13 matched Members</a>

    @henrywright-1

    Member

    @shanebp

    View all 9 matched Members ā€“ See more at:

    Where does this come from? I’ve never seen it before.


    @applegateian

    Are you using a plugin to generate that text? I can’t find it anywhere in BP.

    @applegateian

    Participant

    Sorry guys, turns out this was in my functions.php extending the search functionality (Single Search page for all buddypress components)

    Apologies.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide 'view all matched members' message’ is closed to new replies.
Skip to toolbar