Title: Removing/changing stats/attributes
Last modified: August 20, 2016

---

# Removing/changing stats/attributes

 *  Resolved [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/)
 * Excellent plugin – works exactly like I want and need it to, BUT (always a but)
   is it possible to remove/change/add attributes to players (without hacking of
   code)? For example I do not want the hight and weight columns in my table and
   on the bios to show up, but I may want to add a player “fun fact” or something
   like that or to change previous school to Hometown?
 * Thanks in advance.
 * [http://wordpress.org/extend/plugins/team-rosters/](http://wordpress.org/extend/plugins/team-rosters/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/removingchanging-statsattributes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/removingchanging-statsattributes/page/2/?output_format=md)

 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383758)
 * OK – so never mind the first question – I found your answer to Fraglord that 
   answered this question (hack the code).
 * The other issue I have is I get a 404 on the link from table to player and the
   url it passes is formed with a:
 * ?format=pro
 * on the end – if I remove this the root link works fine. I have updated the permalinks(
   multiple times) and still no love. Thoughts?
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383873)
 * Hi charroid,
    Thanks. Glad you like the plugin. Sorry it’s not more flexible,
   but you read my comment on that to Fraglord. [I may in fact put in an option 
   to remove some columns, especially the weight column, since girls teams are generally
   not interested in advertising that like football teams are. We’ll see.]
 * Did you move both templates single-player.php and content-single-player.php into
   your theme’s directory? That and resetting the permalinks should do it. If not,
   please send me a link to your site’s roster table page and I’ll poke around and
   see what I can see.
 * Thanks.
    -Mark
 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383892)
 * I think the ability to customize the fields would be good since it would give
   you a broader appeal for non-mainstream sports teams. I do not mind hacking the
   code, but it is certainly easier and cleaner to do it through the plug in if 
   possible.
 * As for my remaining question, I moved the templates and reset the permalinks 
   and still the page throws a 404 on clicking on the link from the player roster
   table. Here is the link to the page with a roster on it (site is still in development
   so I have some time to fix the issues)
 * [http://rockymountainrollergirls.com/newsite/?page_id=161](http://rockymountainrollergirls.com/newsite/?page_id=161)
 * That has a roster on it and the links are there to the player profile page. Also
   something I noticed, if I put any text in the text field on the player definition
   page, the hex code for the text color shows up in the text – only way to see 
   this right now is if you remove the:
 * ?format=pro
 * from the end of the link out of the roster.
 * Thanks for taking a look!
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383901)
 * I appreciate the input and I hear you. The challenge is the balance between sports
   team rosters and general tables. I picked three formats – high-school, college,
   and pro – that seem to be very common on websites worldwide. (And I really looked
   worldwide because the plugin is used worldwide in several languages.) There are
   a couple of good general plugins. I have found that they are very flexible, very
   powerful, and therefore a lot of work to build and maintain. More work to build
   and maintain that ‘volunteers’ who aren’t WP experts, or even computer-savvy,
   can take on.
 * As for the rosters, your links should look something like:
 * `http://rockymountainrollergirls.com/newsite/suri-brawl/?format=pro`
 * and right now, they look something like:
 * `http://rockymountainrollergirls.com/newsite/?true=suri-brawl?format=pro`
 * That’s weird. You might try setting your permalinks to post name, which is what
   I use on [http://shoalsummitsolutions.com/dev/](http://shoalsummitsolutions.com/dev/)(
   a site which may help you debug if you haven’t looked at it already). Your permalinks
   with the “?true=” make me think something weird is going on there. I certainly
   never coded something like that, but WP can have a mind of it’s own sometimes.(
   You can turn those links off in the admin panel.)
 * Finally, I’m not sure what you mean by “the text field on the player definition
   page”?? I think all the fields are field on the dev site above and that I use
   all the formats, but if you can be a bit more specific I will certainly double
   check. (Could be the first bug ever! LOL)
 * Thanks.
    -Mark
 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383904)
 * Yep – post name fixed it. Odd-ball behavior, but all good.
 * So what I was referring to is easier to see now. If you click on the player name
   in the roster it will open the single player display. If I have input text into
   the post editor (the big text field above the player details) then when you open
   the player details link right above that text is the HEX code for one of the 
   color options (I do not know which one). Just odd – you see a #FF0000 in that
   color there above the text.
 * If you use the same link you used in your post you’ll see it – I added some dummy
   text so it would show up.
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383923)
 * I looked at your previous link and your site and I cannot see the hex value you
   are talking about. I don’t see it on my dev site either or in the source code.
   I’m probably looking in the wrong place. Could you give me another link that 
   will for sure show me what you are seeing?
    Thanks. -Mark
 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383943)
 * [http://rockymountainrollergirls.com/newsite/players/suri-brawl/?format=pro](http://rockymountainrollergirls.com/newsite/players/suri-brawl/?format=pro)
 * it is immediately below the picture that you can see the hex code (I am using
   Chrome if that makes a difference)
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3383962)
 * Are you sure you didn’t put #ff000 in the
 * > Player content title (defaults to “Player Bio”):
 * field?
 * This field is for changing the title TEXT from the default “Player Bio” to something
   else like “Career Highlights” or whatever.
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3384007)
 * Hi charroid,
    Just checked your site. Looks like that was it?? If so, please 
   let me know and I’ll close this tread. Thanks. -Mark
 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3384008)
 * Sorry, Mark. I have been super busy with some other projects.
 * So it is still showing the odd color text.
 * [http://rockymountainrollergirls.com/newsite/players/suri-brawl/?format=pro](http://rockymountainrollergirls.com/newsite/players/suri-brawl/?format=pro)
 * THis will take you there and you can see it right below the picture placeholder.
 * Also, I have read the documentation, and I cannot for the life of me figure out
   how to get the player images in there. It says to add the picture through the“
   add player” post type, but there is not image options on that page?
 * Thanks again.
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3384010)
 * First, the color. Please double and triple check the Setting for
 * > Player content title (defaults to “Player Bio”):
 * Are you SURE that it’s not set to #ff0000? Is it blank? If so, please set it 
   to “Hello World” or whatever? Does anything change? If that’s not it then what
   version of the plugin are you using? If it’s not 1.1, please upgrade to 1.1. 
   If it is 1.1, please e-mail the content-single-player.php file to me at [mark@shoalsummitsolutions.com](https://wordpress.org/support/topic/removingchanging-statsattributes/mark@shoalsummitsolutions.com?output_format=md).
 * Now for the photos. Edit the player and add a photo as the Featured Image. You
   add featured images just like any other media/image. If you don’t see the Featured
   Image box on your player edit page, your theme may have deactivated it. I believe
   the support forum contains a couple of threads on this issue, but if the Featured
   Image box is not there, start by checking the Screen Options pulldown at the 
   top right of the Edit Player screen. (In the next version, I’ll make sure this
   box is active.)
 * -Mark
 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3384011)
 * OK so I wasn’t being clear. I am emailing you a highlighted screenshot so you
   can see what I mean – it isn’t that the color of the text is wrong, it is that
   the actual HEX code for the color is being printed into the PHP output itself.
 * I tried the screen options for the picture and it isn’t there. I will look around
   and see if I can find it.
 * Thanks!
 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3384013)
 * Changed the HEX color representation to “Hello World” and now it outputs “Hello
   World” to the page. I am emailing you the PHP page as requested. It is version
   1.1
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3384018)
 * So that’s great, it works! The field we’ve been talking about
 * > Player content title
 * is the TEXT for the “player bio” title, not the color. The color comes from the
   main box text color setting. That one’s hex.
 * Sorry for not being more clear.
 * -Mark
 *  Thread Starter [charrold](https://wordpress.org/support/users/charrold/)
 * (@charrold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/#post-3384020)
 * Thanks again, Mark, for all your help. The picture thing is not working, but 
   I suspect a theme conflict. If it is possible to override that behavior and force
   the option in the plugin then I wholeheartedly request that feature!
 * Otherwise we are in good shape so far – Sorry about the player text confusion
   🙂
 * One other small thing I have noticed – the first player I put in the DB seems
   to “disappear” occasionally. Not sure the correlation yet (like if I add a new
   player or change something else it happens), but thought I would mention it. 
   It ONLY affects the very first player added and the behavior is that there is
   still a row in the player roster table, but the info is all “missing” from the
   display.
 * Other than that, all is well and when I move the site to production I have to
   start over with everything, so it hopefully will sort itself out when I reinstall
   the plugin.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/removingchanging-statsattributes/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/removingchanging-statsattributes/page/2/?output_format=md)

The topic ‘Removing/changing stats/attributes’ is closed to new replies.

 * ![](https://ps.w.org/team-rosters/assets/icon-128x128.png?rev=1087838)
 * [Team Rosters](https://wordpress.org/plugins/team-rosters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/team-rosters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/team-rosters/)
 * [Active Topics](https://wordpress.org/support/plugin/team-rosters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/team-rosters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/team-rosters/reviews/)

## Tags

 * [attributes](https://wordpress.org/support/topic-tag/attributes/)
 * [Roster](https://wordpress.org/support/topic-tag/roster/)

 * 16 replies
 * 2 participants
 * Last reply from: [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/removingchanging-statsattributes/page/2/#post-3384021)
 * Status: resolved