-
Author
-
September 7, 2016 at 17:32 #135274dlxParticipant
Hello 7th Queen!
Like shown on http://seventhqueen.com/themes/kleo/members/ and http://seventhqueen.com/themes/kleo/members/demo/ the latest activity is shown in the members listing and in the title of the member´s page.
This looks nice when members post a few words, but if they post a lot of characters this can break the layout completely.
Because of this I would like to stop the display of the latest activity. Is there a hook I can add to the functions.php?
Best regards,
JanAttachments:
You must be logged in to view attached files.September 7, 2016 at 20:00 #135318RaduModeratorHi,
use this css
COPY CODEbody.directory.members #buddypress #members-list span.update { display: none !important; } #item-header-content #latest-update { display: none; }
the css will be added to wp-admin -> theme options -> general settings -> quick css
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 7, 2016 at 20:28 #135328dlxParticipantHello Radu,
thanks for your help! I was asking for a solution for the functions.php because of an other reason: Badwords or Spam that´s posted by members. For the displays in the activity stream I already have a solution (Content Censor Plugin) that works fine but does not filter the displays in the member listing or member profile.
So I need an other solution to remove the content from the site – and remove it from the html also.
Is there anything I can edit in the (child-)template or add to the functions.php?
Hope you have an idea for this!Best regards,
JanSeptember 8, 2016 at 18:34 #135463RaduModeratorHi,
The censorship plugin should work because we are using the default BuddyPress logic.
You can modify the templates by copying them on child theme in same directory structure
members directory loop : /wp-content/themes/kleo/buddypress/members/members-loop.php
member profile layout : /wp-content/themes/kleo/buddypress/members/single/member-header.php
So you can copy them on child /wp-content/themes/kleo/buddypress/members and /wp-content/themes/kleo/buddypress/members/single/
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionSeptember 14, 2016 at 16:33 #136096dlxParticipantHi Radu!
Thanks for your help – this worked perfectly!
Also the file cover-image-header.php in /wp-content/themes/kleo/buddypress/members/single/ had to be changed (maybe this helps if anybody else has the same problem).Have a great day!
JanSeptember 14, 2016 at 18:51 #136132RaduModeratorYou’re welcome
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.