Football Leagues Community
Get help , share ideas , and help shape the plugin's future
Before posting: Check the Documentation and Knowledge Base — your answer may already be there.
Make templates FSE compliant
WP is moving towards Full Site Editing and it would be great if the layout builder could be compliant with these kinds of themes.
I made a single change to the code, and it seems to be enough (although I'm not enough into the code to know if more changes are needed or if it breaks anything else - it looks like it works though).
In the default plugin
File includes/class-anwpfl-template.php
Around line 150
Replacing the block here
if ( array_product( $template_loading_check ) ) {
if ( apply_filters( 'anwpfl/template/load_default_template', true, $post->post_type, $post ) ) {
// Prepare layout
$layout = get_post_meta( $post->ID, '_anwpfl_tmpl_layout', true );
$layout = empty( $layout ) ? '' : ( '-' . sanitize_key( $layout ) );
$this->get_template_part( 'content-' . str_replace( 'anwp_', '', $post->post_type ), $layout );
} else {
do_action( 'anwpfl/template/load_alt_template', $post->post_type, $post );
}
// Disable default content
return '';
}
With this
if ( array_product( $template_loading_check ) ) {
ob_start();
if ( apply_filters( 'anwpfl/template/load_default_template', true, $post->post_type, $post ) ) {
// Prepare layout
$layout = get_post_meta( $post->ID, '_anwpfl_tmpl_layout', true );
$layout = empty( $layout ) ? '' : ( '-' . sanitize_key( $layout ) );
$this->get_template_part( 'content-' . str_replace( 'anwp_', '', $post->post_type ), $layout );
} else {
do_action( 'anwpfl/template/load_alt_template', $post->post_type, $post );
}
return ob_get_clean();
}
return $content;
}
Thank you in advance ☺️
Is it possible to filter the list of fixtures by home team
I've been struggling for years to get the list of fixtures that are viewed to be sorted alphabetically by the home team, grouped by date. As matches are on the same date, it sorts them by their ID.
Is this something that is available, whether that's in the free or paid version. If it's in the paid version, this may be the reason I purchase it, as it annoys me when matches are postponed and when I move them to the new dates they are always the first that's displayed for that date.
This is the shortcode that I currently use:
[anwpfl-matches competition_id="" show_secondary="0" season_id="75" league_id="" group_id="" type="fixture" limit="0" date_from="2026-03-01" date_to="2026-03-31" stadium_id="" filter_by_clubs="245,250,257,121,123,271,1602,146,154,159,163,167" home_club="" away_club="" filter_by_matchweeks="" days_offset="" days_offset_to="" sort_by_date="asc" sort_by_matchweek="" group_by="day" group_by_header_style="" show_club_logos="1" show_match_datetime="1" competition_logo="1" include_ids="" exclude_ids="" outcome_id="" no_data_text="There are no fixtures currently, check back later" layout="" show_load_more="0"]
=== AnWP Football Leagues System Info ===
Plugin Version: 0.17.2
WordPress Version: 6.9.1
PHP Version: 8.2.30
DB Version: 42
Matches: 2034
Stats Records: 2034
Server Timezone: UTC
WP Timezone: Europe/London
Site Locale: en_GB
Active Plugins: cmb2, content-views-query-and-display-post-page, document-library-lite, duplicate-page, extendify, filebird-pro, football-leagues-by-anwppro, google-site-kit, post-views-counter, robo-gallery, robogallerykey, sg-ai-studio, sg-cachepress, sg-security, so-css, sportspress-for-soccer, sportspress, the-events-calendar, tlp-team, ultimate-blocks, updraftplus, wordpress-starter, wp-consent-api, wp-google-maps, wp-nested-pages, wp-table-builder
Goalkeeper Saves
Hello, I think it would be useful if there was "Goalkeeper save" event for matches. So one could add that to match timeline as well. Also, with that a club could track how much saves a goalkeeper made per season.
Fatal error: Uncaught Error: Call to undefined function mb_strpos() in /www/wwwroot/en.1csport.com/wp-content/plugins/football-leagues-by-anwppro/includes/class-anwpfl-assets.php:501 Stack trace: #0 /www/wwwroot/en.1csport.com/wp-includes/class-wp-hook.ph
Fatal error: Uncaught Error: Call to undefined function mb_strpos() in /www/wwwroot/en.1csport.com/wp-content/plugins/football-leagues-by-anwppro/includes/class-anwpfl-assets.php:501 Stack trace: #0 /www/wwwroot/en.1csport.com/wp-includes/class-wp-hook.php(341): AnWPFL_Assets->admin_enqueue_scripts() #1 /www/wwwroot/en.1csport.com/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #2 /www/wwwroot/en.1csport.com/wp-includes/plugin.php(522): WP_Hook->do_action() #3 /www/wwwroot/en.1csport.com/wp-admin/admin-header.php(123): do_action() #4 /www/wwwroot/en.1csport.com/wp-admin/plugins.php(637): require_once('...') #5 {main} thrown in /www/wwwroot/en.1csport.com/wp-content/plugins/football-leagues-by-anwppro/includes/class-anwpfl-assets.php on line 501
Points/Standing Table for 8 best third ranked teams for the 2026 FIFA World Cup
More options for icons
Would appreciate if there were more options to chose a different style for icons to better suit a template. Also more styles of country icons if possible
standing table empty
Hi,
While updating Ligue 2 (France), I noticed that the standings table is not linked to the competition and is currently empty. Could you please explain how to connect it to the correct competition and how the standings table should be built?
Thank you.
Snap 2026-01-19 at 23.59.08.png
Snap 2026-01-20 at 00.16.19.png
Snap 2026-01-20 at 09.57.52.png
Manual entry of old statistics into the system
When I manually enter player statistics into the system, I can only select the season, not the team. Could this be fixed in the future so that the team can also be selected?
Can´t create new standings
Hi Andrei,
may last standing I created on
Published
2026/01/09 at 5:58 pm
now the duplicate or clone doesn´t work it leads me always to the "All Posts" section.
and when I click "Add New Standing Table" it shows "Could not insert post into the database."
any idea what is going on?
Cheers
Frank
Customer support service by UserEcho
