Football Leagues Community

Ask questions , share ideas , and help shape the plugin's future

Before posting: Check the Documentation and Knowledge Base - your answer may already be there.

Need help with the free plugin? Use the WordPress.org support forum. Premium users can open a support ticket here.

+1
Answered

Translation function / Ukrainian lang

Sergiy Novikov 7 years ago • updated by Andrei S. (Developer) 7 years ago • 4

Hi all! 

Tell me please if it possile to add Translation function for your plugin where we can translate all possition what we want to another lang. 

Also if you can add ukrainian lang of how i can translate all ??? 


As like made it another plugins.... 

Image 1453

+1
Completed

Post tags support. Show posts with linked tags in competition, clubs and players.

mehdashti 7 years ago • updated by Andrei S. (Developer) 7 years ago • 3

Hi,

It's suitable to connect contents to players, clubs, competitions pages. for example, show list of articles with messi tag in messi's page. show list of article with barcelona tag in club page. and ... 

0

Importing staff (head Coach) via Import Tool

Histoliga 4 weeks ago • 0

Thanks for the new LayoutBuilder-Option for staff and the great funcionality of the career history by games.

I miss an option for importing the headcoach of a game via the Data-Import Tool.

Manually editing some 10.000 matches in the database that are currently without a head-coach is not really an option.

Would be wonderful if we get an import option (or a bulk-editing option in the machtes section)!

0
Answered

Come si fa a inserire lo staff separato dalla rosa giocatori in layout v2?

Demis Ulivelli 2 months ago • updated by Andrei S. (Developer) 2 months ago • 1
0

Make templates FSE compliant

Philip 9 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
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 10 months ago • updated by Andrei S. (Developer) 10 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

0

Baller League UK data integration

will 12 months ago • 0

It would be great to cover Baller League UK as it is getting a lot of attention right now and is a fast growing league. 

0

API Import Rounding Case Sensitivity

Frank S 1 year ago • updated by Andrei S. (Developer) 1 year ago • 1

Hi Andrei, since the retarded folks at API-Football are scraping a new data source, which is basically good but is causing chaos due to their incompetence, is it possible to disable the case sensitivity in the round mapping?

See screenshot: https://prnt.sc/FOHE35Fj9oWY. Because of the lowercase "p," all the rounds are now being imported as new ones.

Cheers

Frank

0
Answered

Hi Andrei. Is there summer sale for anwp pro plugin. For yearly plan

Babatunde 1 year ago • updated 1 year ago • 3

Hi Andrei I want to purchase the anwp pro forever plan. Is there any summer discount sale ?

0

I need a cheap hosting for anwp pro

Babatunde 1 year ago • 0

Hi, pls can you recommend a cheap hosting platform for anwp pro. Thanks