ThemeBoy
Forum Replies Created
-
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team/Player records@hockeyguy1925 That makes perfect sense, and is a great idea! The current version of the plugin does not do this, however we will look into developing this functionality, possibly as a pro feature.
I’ll keep you posted 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Error in class-sp-countries.php@stravides Oops, thanks for spotting that! It was not intentional 😛
The country code I’ve used for the flag is WL so we’ll stick with that. This will be fixed in the next update 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Matchdays/-rounds@teh1aeq Thank you, glad you’re enjoying the plugin!
Yes, there is a way 🙂
First, go to SportsPress > Seasons and (if you haven’t already), create a season. This might be “2014”.
Then, create another season for your first match day. You can call this something like “Day 1”. Before you click “Add New”, choose your parent season (2014). This will create “Day 1” as a child of “2014”. You could even nest seasons, for example:
2014 — Week 1 — — Day 1 — — Day 2 — — Day 3and so on. Once you’ve created all the seasons (match days), create the events, or assign the match days under the “Season” dropdown when creating an event.
After you’ve added all of the events from a match day, go to Events > Calendars and create a new calendar. Select your match day from the “Season” dropdown so that only the events from that match day will be displayed. This calendar can now be displayed directly (select “List” as the layout) or within another post/page/widget by copying the shortcode.
I hope this makes sense! Feel free to let me know if you have any questions about the steps and I’d be happy to clarify 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Shortcode icons@jordannick Thanks for your question. We’ll definitely be adding shortcode buttons eventually 🙂
In the meantime, some post types (Events, Calendars, League Tables, and Player Lists) generated shortcodes automatically that can be copied and pasted into any post, page or widget.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Page templates@james The current_teams() function returns all sp_current_team meta as an array:
/** * Returns current teams * * @access public * @return array */ public function current_teams() { return get_post_meta( $this->ID, 'sp_current_team', false ); }So you could assign the output to a variable and loop through it like this:
$current_teams = $player->current_teams(); if ( $current_teams ): $teams = array(); foreach ( $current_teams as $team ): $teams[] = '<a href="' . get_post_permalink( $team ) . '">' . get_the_title( $team ) . '</a>'; endforeach; $label = _n( 'Current Team', 'Current Teams', count( $teams ) ); echo implode( ', ', $teams ); endif;Hope this helps 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Specific event details possible?ACF is a fantastic plugin! In fact, we use it on our main site as well 🙂
Although we’ve already developed an interface for the highlights feature, I’ll definitely look into the repeater field function and see if we can adapt some of it to further improve this feature.
We don’t have an ETA yet, but are aiming to release this month. I’ll keep you posted 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Language of month in dataThanks, found the issue! Date translations will be enabled in the next update 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Ladder, ELO systemSent 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Ladder, ELO system@amanipe I’d love to use your expertise. It would be great if you could get in touch via email to support[at]themeboy.com 🙂
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Language of month in data@tylkopilka Could you tell me which page/widget this is?
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Specific event details possible?@aatospaja Thanks for checking out SportsPress! We are actually working on a pro feature called “Highlights”. Highlights will link with the current Player Performance table, with the ability to add and display play-by-play performance within each event.
I’ll definitely keep you posted about this feature.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Team link not available@opopop in Individual mode, Player will replace Teams. I’d like to see an example if there are any issues with Individual mode displaying.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] All in One Sports Management@opopop Event details (Date, Time, League, Season) will be displayed in a table at the top of an event page. You can also display events via a Calendar by choosing the “List” layout option.
Feel free to let me know if you’d like any specific details about events or calendars.
@james there are also player-related templates in the /templates folder. If you’d like to add some CSS, you can do so via SportsPress > Settings > Custom CSS.
All SportsPress tables have the class “sp-data-table” and there are specific classes for each type, for example “sp-league-table”, “sp-player-performance”, etc.
Forum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] Page templates@james Is the page online so that I could have a look? If it’s on your local machine, I’d like to see the output from SportsPress > System Status. (please use the “code” button below or wrap the code in backticks)