Actually, I was able to figure it out. I found a thread deep in previous forum posts for this plugin’s support that linked the SportsPress API functions. I was able to echo every portion I needed thanks to this list. If anyone else comes across this thread, firstly here’s the link to SportsPress’s API functions located in their Github (and in the plugin’s includes folder):
https://github.com/ThemeBoy/SportsPress/blob/master/includes/sp-api-functions.php
All you need to do is echo the function you want to display, for example:
<?php echo sp_get_player_number($id); ?>
You can replace $id with $post->ID if it gets confusing. You also need to declare a new call, such as $player = new SP_Player($id);
I’ll post my example if anyone needs it.
<?php elseif ( is_user_logged_in() && current_user_can('sp_player') ): ?>
<div class="row">
<?php
$current_user = get_current_user_id();
$id = get_the_ID();
$player = new SP_Player($id);
$author_query = array(
'posts_per_page' => '-1',
'author' => $current_user,
'post_type' => 'sp_player'
);
$author_posts = new WP_Query($author_query);
while($author_posts->have_posts()) : $author_posts->the_post();
?>
<div class="col-md-4" id="left-sidebar">
<div class="player-thumbnail"><?php echo sp_player_photo($id); ?></div>
<div class="player-">
<?php wp_nav_menu(
array(
'theme_location' => 'primary',
'container' => 'ul',
'menu_class' => 'navbar-nav nav',
'echo' => true,
'link_before' => '<span>',
'link_after' => '</span>',
'items_wrap' => '<ul class="navbar-nav nav">%3$s</ul>',
'depth' => 0,
'walker' => new wp_bootstrap_navwalker()
)
); ?>
<!-- end .player- --></div>
<!-- end .col-md-4 --></div>
<div class="col-md-8" id="right-sidebar">
<h2 class="has-title"><?php the_title(); ?></h2>
<div class="player-info">
<?php echo sp_get_player_number($id); ?>
<?php echo sp_player_details($id); ?>
<!-- end .player-info --></div>
<div class="player-stats">
<?php sp_player_statistics($id); ?>
<!-- end .player-stats --></div>
<!-- end .col-md-8 --></div>
<?php endwhile; ?>
<!-- end .row --></div>