• Resolved nickmyers00

    (@nickmyers00)


    I have a basic knowledge of word press, and I am attempting to create rosters for my school’s basketball team. I have the roster table set to ‘custom’ with all other defaults set except for the Roster Table Colors. The short code I am using for boys roster is:

    [mstw-tr-gallery team=’bb’ roster_type=’custom’ show_title=1 name_format=’first-last’ sort_order=’alpha’ links_to_profiles=0 table_photo_width=’90’ table_photo_height=’90’ show_photos=1 photo_label=’Picture’ show_number=1 number_label=’Number’ show_position=1 position_label=’Position’ show_height=0 show_weight=0 show_year=1 year_label=’Year’ show_title=1]

    The same goes for the girls expect the slug =’gb’.

    The issue I am having is that the player pictures are not showing. All that shows is the default “this photo unavailable” picture. When I go to Manage Players and edit each player, I have uploaded each individual photo to the Player Photo box and to shows in the preview. How can I get each players picture to show?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi Nick,
    Thank you for posting here.

    It appears there is some issue with post “Featured Images” (AKA post thumbnails). No one else has reported this problem and I don’t see it on my dev sites (https://dev.shoalsummitsolutions.com/test-roster-plugin/). I inspected your page and saw some interesting stuff. For example when I inspect the “Picture” column heading I see:

    <th id="photo" data-mtr-content="Picture" class="mtr-th-tag"><div class="mtr-cell-content">Picture</div></th>

    The “mtr-cell-content” and “mtr-th-tag” css classes do not come from the MSTW Team Rosters plugin. My guess would be they are coming from your theme, but they could be coming from another plugin. The same theme or plugin could be messing with the player (custom post type) featured image.

    So I would change the theme back to a “WP standard” Twenty-nineteen, Twenty-twenty, whatever. Then create a new (test) player with a picture and see if you get the same result. (I adhere to WP standards, so if it’s a theme issue, this should fix it.) If so, is the “mtr-” stuff still there. If so, you can identify the plugin with the MTR tag and disable it OR just disable all the plugins, except MSTW Team Rosters, then make another test player with a photo. The ‘mtr-‘ stuff should certainly be gone.

    If you are still getting the default image, then we’ll have to dig into what is going on in your DB. You can start by checking your uploads folder and see if the player photos are there. It should look something like /wp-content/uploads/2012/11. The year and month subfolders may or may not be there, depending on your site configuration.

    Let me know what you uncover.

    -Mark

    Thread Starter nickmyers00

    (@nickmyers00)

    Solved. The theme I was using, Apostrophe 2 must have been the issue. I attempted a few other themes, and my pictures appeared, and then I tried to reinstall the original Apostrophe 2 them to see if it cleared any additional code, but that did not work. I will continue with this new theme and use this as an opportunity to revamp our site. Thanks for the help!

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Glad I could help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Player Photo Not Showing Up’ is closed to new replies.