-
Author
-
September 12, 2016 at 02:47 #135764mbfitParticipant
Hello so I have learned a bit to change a few things to my liking, however I am still not keen on how to remove. There are several that I would like help with.
1. Can the ranked member names be removed from their posts? keymaster/participant? Demo pic ‘ranksreply’ and left blank? Or access to change it? I’d prefer an empty field though…
2. Can the words Forums on the forum page be removed? Demo pic ‘TITLEFORUMS’
3. On Forum page the search field with the search button, can that be shortened same size as the search field on the second pic and just justified to the right above the word Freshness? Demo pic ‘FORUMSEARCH-FRESH’ to the same size as demo pic ‘FORUMSEARCH2’
4. And as seen in forumsearch-fresh pic can we remove the word “freshness” and leave blank?
Much thanks! I’m curious to see if there is a common code to remove things that perhaps I can learn and practice.
Attachments:
You must be logged in to view attached files.September 13, 2016 at 02:49 #135907LauraModeratorHello 🙂
1-Name or role?
2- Add this to style.css of child themeCOPY CODE.forum-archive h2.article-title { display: none; }
3- Add this to style.css of child theme
COPY CODE.bbp-search-form { width: 30%; }
4. Add this to style.css of child theme
COPY CODEli.bbp-forum-freshness { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
September 13, 2016 at 07:32 #135923mbfitParticipantHi Laura, thanks you.
#1 refers to the viewing of the name there itself, not the role of members, I’d want that still to be retained ie an admin or participant etc. if that is what you mean…I’d just prefer to have the member name there when they post and not have words there like “participant” etc hope that makes sense
#4 I noticed while it worked it removed who posted last and time, etc. is that unavoidable?
also can you right justify the search bar for me?
I left example pic
Much thanks! 🙂
Attachments:
You must be logged in to view attached files.September 16, 2016 at 02:53 #136274mbfitParticipantWell I kinda figured it out a little bit. I removed the code for the Freshness thus bringing who posted last back etc. and then attempted to align the Search Form to the right. Well it’s incorrect however the form sits on top of the word Freshness and covers it completely bringing forum activity back. I’ll take that I guess.
I used this
.bbp-search-form {
width: 29%;
position: absolute;
top: 0;
right: 0;
}If no harm no foul I’m fine with how it sits now.
Still would like to know about #1
I do have a general question. Do you have links to forums and tutorials where I can read up and learn some css in relation to wordpress? Right now I’m winging it with random searches. Thanks.
September 16, 2016 at 04:47 #136276mbfitParticipantHello I found this code to help change the names, which I’m fine with. Thanks!
add_filter( ‘bbp_get_dynamic_roles’, ‘ntwb_bbpress_custom_role_names’ );
function ntwb_bbpress_custom_role_names() {
return array(// Keymaster
bbp_get_keymaster_role() => array(
‘name’ => ‘My Custom Keymaster Role Name’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_keymaster_role() )
),// Moderator
bbp_get_moderator_role() => array(
‘name’ => ‘My Custom Moderator Role Name’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_moderator_role() )
),// Participant
bbp_get_participant_role() => array(
‘name’ => ‘My Custom Participant Role Name’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
),// Spectator
bbp_get_spectator_role() => array(
‘name’ => ‘My Custom Spectator Role Name’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_spectator_role() )
),// Blocked
bbp_get_blocked_role() => array(
‘name’ => ‘My Custom Blocked Role Name’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_blocked_role() )
)
);
}September 18, 2016 at 01:33 #136401mbfitParticipantHello, the freshness is still embedded within the forums. So while it removes on the main page, other forums on a sub level still retains the ‘Freshness’. Perhaps there is an option to change the wording instead?
September 19, 2016 at 19:07 #136556LauraModeratorHello, try adding margin-left:5%; to the search css code
About the freshness, you may need to hire a developer to help you with it 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
September 26, 2016 at 04:47 #137119mbfitParticipantHello I found a solution at the bbpress forums, I’ll share here if others read this
//This function changes the heading “Freshness”
function rew_change_translate_text( $translated_text ) {
if ( $translated_text == ‘Freshness’ ) {
$translated_text = ‘Change Name Here’ ; }
return $translated_text;
}
add_filter( ‘gettext’, ‘rew_change_translate_text’, 20 );September 27, 2016 at 06:38 #137288LauraModeratorGlad you could resolve it 🙂 I am sure it will help others
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.