About this plugin
cz – the Czech-Slovak Film Database – and optionally your latest reviews. Just paste the address of your ČSFD profile and the list stays up to date automatically.
Features
- Shortcode [csfd_last_seen] – put the list into any page or post (in the block editor use the Shortcode block).
- Widget for sidebars and other widget areas – it can use the shared settings or its own.
- Settings page in Settings → Last Seen for ČSFD with a live preview and a “reload now” button.
- Film colour (ČSFD average rating), release year and your star rating, just like on ČSFD.
- Optional latest reviews with posters.
- Data is cached (1–168 hours, default 2). If ČSFD.cz is unavailable, the last successfully loaded list is shown instead of an empty box.
- Lightweight: the stylesheet is loaded only on pages where the list is displayed; no JavaScript on the front end.
- The plugin interface is in Czech (as well as ČSFD.cz).
Česky
cz (a volitelně i poslední recenze). Stačí v Nastavení → Last Seen for ČSFD vyplnit adresu svého profilu a výpis vložit shortcodem [csfd_last_seen] nebo widgetem „Last Seen for ČSFD“.
Shortcode attributes
All attributes are optional and override the values from Settings → Last Seen for ČSFD:
- url – ČSFD profile address, e.g. url="https://www.csfd.cz/uzivatel/29153-joste/"
- count – number of films (1–50)
- reviews – number of reviews (0 = hide reviews)
- color – show the film colour ( yes / no )
- year – show the release year ( yes / no )
- nofollow – add rel="nofollow" to the links ( yes / no )
- profile_link – show the “Můj účet na ČSFD »” link ( yes / no )
- title – heading above the list
Example: [csfd_last_seen count="5" reviews="2" title="Naposledy jsem viděl"]
For developers
- Filter csfd_last_seen_user_agent – User-Agent sent to ČSFD.cz.
- Filter csfd_last_seen_retry_interval – seconds before a failed download is retried (default 900).
- The output uses the classes.csfd-last-seen,.csfd-last-seen-ratings,.csfd-last-seen-reviews and.csfd-last-seen-profile, so it is easy to restyle from your theme.
Related links
- ČSFD.cz (data source)
- Návod v češtině
cz.
External services
).
- What is sent and when: the server of your website downloads the public pages of the ČSFD profile you enter in the settings ( …/hodnoceni/ with ratings and, if reviews are enabled, …/recenze/ ). This happens only when the cached data expires (every 1–168 hours, as configured) or when you save the settings. Only a standard HTTP request for these public pages is sent – no data about your visitors.
- Images: if reviews are displayed, film posters are loaded by your visitors’ browsers directly from the ČSFD image server ( image.pmgstatic.com ).
- Links in the list lead to ČSFD.cz.
cz/zasady-ochrany-osobnich-udaju/