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.

+1
Answered

Translation function / Ukrainian lang

Sergiy Novikov 6 years ago updated by Andrei S. (Developer) 6 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 6 years ago updated by Andrei S. (Developer) 6 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

Make templates FSE compliant

Philip 5 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 7 months ago updated by Andrei S. (Developer) 7 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 8 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 10 months ago updated by Andrei S. (Developer) 10 months 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 11 months ago updated 11 months 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 12 months ago 0

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

0
Answered

import

Mathew 1 year ago updated 12 months ago 3

does the football import match and players ect match the import for the sports league import

0
Answered

hay modo de llenar los resultados de los partidos desde el celular?

ANT 1 year ago updated by Andrei S. (Developer) 1 year ago 1

hay modo de llenar los resultados de los partidos desde el celular?