Transfers (shortcode)

Premium Version Only

Image 870

[anwpfl-transfers season_id="" club_id="" type="" limit="0" order="asc" player_id="" competition_id="" window="" date_from="" date_to="" layout="club"]

Shortcode Attributes

  • season_id – (required) Season term_id
  • club_id – Club ID. Required in club layout
  • limit – (optional) limit number of transfers. 0 for all. Default: 0
  • type – (optional) "in”, “out” or ""(empty) for to show all. The default value is " " (empty - all).
  • order - (optional) “asc” or “desc”. Sort by date: ascending or descending. Default: “asc”

since v0.10.2

  • player_id – Player ID. Required for player layout
  • competition_id – Competition ID. Required for competition layout.
  • window - (optional) - "pre", "mid" or empty for all.
  • date_from - (optional) format - YYYY-MM-DD
  • date_to - (optional) format - YYYY-MM-DD
  • layout - "club", "competition" or "player". Default value is "club".

Layouts (since v0.10.2)

Club Layout

Required "club_id" parameter.

Image 1214


Competition Layout

Image 1215

Player Layout

Required "player_id" parameter.

Image 1213

Андрей, спасибо, что сделал это!

Очень, прошу, сделать небольшую доработку:
1.season_id – (required) Season term_id  - возможность указать несколько турниров

2.club_id – (required) Club ID -  при пустом поле (ну сейчас тут параметр required ) чтоб выводить можно было все  трансферы  по всем клубам в разрезе данного турнира  в поле season_id    (просто очень нужно)

к примеру чтобы было видно все трансферы за сезон по всем клубам

В следующей версии будет добавлен layout для соревнований. Будут показаны трансферы всех команд из турнира, сгруппированные по клубам.

А фильтры и сортировку я решил пока не делать.

+1

Для этих целей будет сделан новый шорткод - season-transfers. Будет добавлена возможность сортировки, фильтры, возможно, поиск. Что-то похожее на статистику игроков.

По срокам - пока не скажу.

Is it possible to select more than one competition in one code?

Is it possible to select more than one competition in one code?

No, but you can put two shortcodes with different competitions, one by one.

--

Best Regards

Andrei S.

Is it supposed to be possible to make a shortcode for all the transfers of a competition? It comes out blank to me, I have to put the ID of a team to show it to me...