shortcode leaguearchive
-
Hello,
I’ve a problem with the shortcode [leaguearchive league_id=ID]
No matter what ID I put, always appears the first one like as if you put [leaguearchive league_id=1]
In shortcodes.php I see
$league_id = ( isset($_GET[‘league_id’]) && !empty($_GET[‘league_id’]) ) ? intval($_GET[‘league_id’]) : $leagues[0]->id;I think that always get “$leagues[0]->id;” but if I change this line by this other:
$league_id = $_GET[‘league_id’]
the page not load.Somebody with the same problem and solution???
Than you very much
- The topic ‘shortcode leaguearchive’ is closed to new replies.