Advanced H2H for SportsPress

外掛說明

This plugin is an extension for SportsPress.

Give your league managers the option to use more advanced Sorting Criteria for your League Tables.
Now is possible to select different Sorting Criteria for each League Table!

螢幕擷圖

  • The new CPT Sorting Criteria at SportsPress Teams Menu
  • “Regular” Order priorities (Pts, GD, F) i.e. Premier League
  • Tiebreak Order priorities (Pts, Goal Away) i.e. Premier League
  • Sorting Criteria Summary i.e. Premier League
  • Selection of Sorting Criterion at your League Table Edit Page.

安裝方式

  1. Install and activate Advanced H2H for SportsPress plugin.
  2. Create your own Sorting Criterion at SportsPress->Teams->Sorting Criteria.
  3. Select your preferred Sorting Criterion for your League Table
  4. Enjoy!

Credits

使用者評論

2024 年 12 月 6 日 1 則留言
Just the extra settings we needed to sort league tables the way we need. Thank you!
2024 年 12 月 3 日 1 則留言
This plugin resolved our issue. The league I work for, (United Premier Soccer League) in the United States is a pro-development league for young aspiring amateur players. The league recently converted to Head-To-Head as the first tie breaker for our division tables. Before we implemented the plugin, we only had the option of goal different to sort the teams after points in our Themeboy wp theme. Now we have a lot more flexibility and allows us to accurately reflect the rankings of teams throughout the season. We owe the developer a lot for his work on this plugin-in!
2024 年 6 月 20 日 1 則留言
I’ve been using sportspress for a number of years now and though their current sorting criteria functions – it is really limited. Especially when trying to incorporate head to head and where in your sorting order this would fall under. This plugin completely revitalizes the sorting ability and allows you to set custom sorting orders for each individual league (should you want this). Great work Savaas!!! Side Note: beware that this plugin currently does not function out of the box with Dan FIsher’s Alchemist theme though can be incorporated very easily by editing the league-table.php sportspress template file found in alchemist/sportspress/ folder. You would open that file and replace the code below (found on or around line 41) $table = new SP_League_Table( $id ); With the following $sah2h_criteria = get_post_meta( $id, ‘sah2h_criteria’, true );if ( ‘default’ !== $sah2h_criteria && ” !== $sah2h_criteria ) { $table = new SAH2H_League_Table( $id ); $table->h2h_criteria = $sah2h_criteria;} else { $table = new SP_League_Table( $id );} That is all I’ve done to have this advanced h2h plugin function with the Alchemist theme. *Use at your own discretion.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Advanced H2H for SportsPress〉的開發相關工作。

參與者

〈Advanced H2H for SportsPress〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Advanced H2H for SportsPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.1.1

  • FIX: Highlight team feature is not working.

2.1.0

  • UPDATE: Update league-table template to latest version.

2.0.2

  • FIX: Avoid blank page if SportsPress is not activated.

2.0.1

  • FIX: Error if the plugin is loaded before SportsPress.

2.0.0

  • NEW: Sorting Criteria Custom Post Type (see screenshots)
  • NEW: Ability to choose for each League Table which ordering criteria to use! (see screenshots)

1.0.0

  • First Release!