So, we allow all our users to sign up and become contributors. We kind of don’t like the fact that all our members answering questions show the word STAFF next to their names. Any way to control this?
Hi CuriousMind !
If you want to remove “Staff” next to User’s Name in the DW Q&A plugin, You can add the following code to the style.css file
.dwqa-container .dwqa-label.dwqa-staff {
display: none;
}
strong {
display: none;
}
– In case you want to edit the “Staff” to some other words, You can open the content-comment.php file. Find the line 12 and content-answer.php file. Find the line 45.
Hope this helps !
Works like the charm!
Hello. I want to change the word “staff” to “coach”…please advise.
THanks!
Kim
Hi Kim!
To change the word “staff” kindly go to the template folder. I am assuming you are not using the subfolder in your template folder. Go to you plugin folder and open the file content-answer.php:
\dw-question-answer\inc\templates\default\content-answer.php
find the line around line 50:
echo ‘ <strong>⋅</strong> <span class=”dwqa-label dwqa-staff”>’.__(‘Staff’,’dwqa’).'</span>’;
change to:
echo ‘ <strong>⋅</strong> <span class=”dwqa-label dwqa-staff”>’.__(‘Coach’,’dwqa’).'</span>’;
Hope this helps.
Cheers!
please help, i just did that and lost all the answers on my front end of my website.
http://thinkwithyourheart.com/qanda/
Look the answers are not showing…i even changed the word coach back to staff and still this issue…
I can email you my content-answer.php file if you want. Also can give you wordpress login info
I put the original folder from the original download file from DW content-answer.php back to replace my edited one and my answers still aren’t showing up.
actually now my buddypress information isn’t showing up on my front end either?
please send your ftp login details via private answer to investigate why it is messing up.
@guru i am SO sorry! what are the chances, but a server issue popped up when i was editing the folder you advised me to edit and it had nothing to do with one another. My /tmp folder was full. Anyway, do you think it safe for me to edit like you said now that that is taken care of?
I have implemented the same code on my side and works perfectly. Unless you changing a completely different folder, it should work fine.
Dear Kim, Please check as I have resolved the issue. I couldn’t check the answers as I didn’t have permission to see answers, and couldn’t find any way to register.
Hi @guru thank you. The answers now say coach but it still says staff in the replies. Here’s a screen shot:
http://thinkwithyourheart.com/wp-content/uploads/2014/03/k.jpg
Try now, it says Coach 😀
Cheers
Hello Kim !
I have checked your site and you have resolved this issue, I have mark the “Resolved” status for this question.
How can I show STAFF just next to admin, editor and authors?
If you want to show the “Staff” for the admin, editor and authors, you can log in to Dashboard > User, edit user as you like, then select the admin, editor and authors which you want in the Role section.
See the screenshot:
It’s not possbile…Imagine that I have a lot of users in every different roles. but I want to just show STAFF for Admins, Editors and Authors.. but I don’t want to change the roles
At the moment, our DW Q&A plugin does not yet support this issue.
But here in your website it works.. I mean STAFF isn’t shown near my name but it is shown near yours
What’s the logic with the STAFF display? On my website, STAFF is displayed next to every user: Author, Subscriber, Contributor, Editor, and Administrator. Shouldn’t it by default only display next Contributor, Editor and Administrator roles?
Like Vahid mentioned, it looks like you have this logic installed on this website, but with the plugin, STAFF is displayed next to every user. It sounds like this is a bug, not a “missing feature”.
Yes that’s right. Thanks for translating my bad English into a good one! 🙂
Hi,
you can create a new question then send me username & password of your site (via private answer) for further checking.
a usernme & password as an admin right? but just one thing I should mention is that my wordpress is in Persian!! can you still do that? I think you should add this feature to your plugin in the next version. it doesn’t seem to be hard to do that
Yes ! we will discuss this issue in the next version and I will mark the “Resolved” this question, if you have any question, please create new question, we will resolve it !
Please login or Register to submit your answer