Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author LaMonte Forthun

    (@lamontef)

    Me too, I have to look into it and have a look at the code, you’ve stumped me!

    OK, so the archive is exactly what it sounds like, a bunch of info on the particular league. If you only need the standings, can you just use the shortcode for standings?

    [standings league_id=1 group=A template=last5 logo=true]

    or

    [standings league_id=2 group=B template=compact logo=false]

    or

    [standings league_id=1 template=extend]

    Monty

    Plugin Author LaMonte Forthun

    (@lamontef)

    If you really need all the info from the archive, with the exception of a couple of tables, you can duplicate the file ‘archive.php’ in the templates folder and rename the duplicate file to something like ‘archive-XXXX.php’, where XXX is what you’d call for in your shortcode. The file has to start with ‘archive-‘.

    So if the file is ‘archive-OnlyStandings.php’

    You’d use this to get it in the shortcode:

    [standings league_id=1 group=A template=OnlyStandings]

    Thread Starter cezza01

    (@cezza01)

    Cool! I added a new template as you suggested then used

    [leaguearchive league_id=1 template=standings]

    The only thing now though is that I can select another league and season, but doesn’t show results.

    Plugin Author LaMonte Forthun

    (@lamontef)

    So if you select a new league and season in the pop up nothing changes?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Archive’ is closed to new replies.