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.

0

Pre-Update Recommendation

DursunKaptan 3 months ago in Widgets 0

It would be great if the Recently Played Match widget had a button to go to the match details. I've indicated it in the image.

Image 12073

0

Pre-Update Recommendation

DursunKaptan 3 months ago in Match 0

Hello,

It would be great if the match result could be displayed nicely and in a slightly larger size in the area I've marked in red in the match details image.

Image 12072

0
Answered

How to make a competition 'active'?

Darren Jones 3 months ago in Settings updated 3 months ago 2

Hi, 

I'm trying to add a match and under 'Match Setup' and I'd like to make 'show only active competitions' 'yes'. If I do this the only active competion in the dropdown is last season. I'd like this current season to be an option.

My quiestion is, "How do I make a season an active competition, so that it becomes visible under this feature?'

Many thanks,

Darren

0
Declined

Turkish Language Files

DursunKaptan 3 months ago in Standing updated 3 months ago 7

Elinde Türkçe dil dosyaları alınabilir ve paylaşılabilir mi? Ayarları daha net hale getirebiliriz.

0

Clear jersey numbers

John 3 months ago in Match 0

Would it be possible to add a function to clear all jersey numbers in a line-up? After the recent update they are always saved for next match and there seems to be no way to add players without jersey numbers if the previous match had saved jersey numbers..

0
Answered

Wirre Anzeige bei Match Commentary

silral 4 months ago in Match updated 4 months ago 3

Image 11853

Hallo

Wie auf dem Bild erkenntlich, ist der Match Kommentar Block verschoben. Ich kann nur den Kommentar löschen, aber nicht editieren. Wo genau finde ich die Einstellung, um wieder alles richtig anzeigen zu lassen? Es nervt sehr.

0

Make templates FSE compliant

Philip 6 months ago 0

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 ☺️

0
Answered

Is it possible to filter the list of fixtures by home team

DonnaA 6 months ago in Match updated by Andrei S. (Developer) 6 months ago 1

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

0

Goalkeeper Saves

Miloš Jovanović 7 months ago in Match 0

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. 

0
Fixed

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

ihab 8 months ago updated by Andrei S. (Developer) 8 months ago 3

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