Hello,
Can you please tell me how I can remove Special Rank text below the badge and just go with badges?
Thanks,
Stang
Hello,
Can you please tell me how I can remove Special Rank text below the badge and just go with badges?
Thanks,
Stang
Sure. This needs a small and simple edit to the theme template,. In this case the spTopicView.php template in the /templates folder of the Simple:Press theme you are using.
Locate the template display function – sp_PostIndexUserSpecialRank() – in that template. In ‘default’ it will look like this:
sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter');
You just need to add an argument to the list like this:
sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter&showTitle=0');
Exactly like this in fact.
As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/) – or – if using the latest version – you could create a child theme.
I have tried that in default – which is what I am using, and there seems to be no change. It is in wp-content/sp-resources/forum-themes/default/templates/
I can guarantee that this does work. Just retested to make sure. As long as you really do mean the Special Ranks… Can you paste the code change you made here so we can look at it?
I figured it out, thanks. Can you tell please how I can accomplish the same now on the members list?
#spMainContaine #spMemberListSection span.spInRowRank {display: none;}