Hi Guys,
2 things… Thought you might be interested to see this… How fast your theme can be:
http://gtmetrix.com/reports/agentswall.com/u45BlwKi
Second Thing
I want to use the widget on a sidebar for the authors page (tag div authors box) But when I do it picks up everyone that is on my forum as an author. I only want to show User Authors and Admin not participants.
Can you direct me to the correct area to make this change. Once again thank you
agentswall.com
Joe
Hi,
You can find it here – http://screencast.com/t/OUQnmahzlh
The reference on function used is – http://codex.wordpress.org/Function_Reference/get_users
Thank you, Emil G.
Hi Emil,
Due to my complete lack of ability I hereby announce myself as a complete idiot!
I have had a look and don’t have a clue what to stick in this space?
Can you tell me what to write and where?
Many thanks Joe.
PS did you see the speed results? Pretty good your theme runs like a rocket !!!
Hi,
Please make this changes: http://screencast.com/t/VMxTV30tN
'role' => ('administrator')
$td_authors = array_merge($td_authors, get_users(array('role' => 'author')));
Thanks!
Hi
I have made the changes to the $td_authors and this is what I am getting
http://agentswall.com/author/admin/
Still picking up all the forum users (they are subscribers/participants)
any ideas
thanks
Joe
Hi,
Do you use a cache? if you do clear it.
If it still doesn’t work please copy the code of the file modified by you (the entire file) and paste it here, use pastebin – http://pastebin.com/ (copy-paste-submit and paste the link here), i’ll look into it.
Thank you, Emil G.
Hi,
You have to replace the single quotes signs: http://screencast.com/t/cju9aHV2PfI
On your code:
$get_users_array = array(‘role’ => ('administrator'));
Replace with:
$get_users_array = array('role' => ('administrator'));
Thanks!