WordPress movie database plugin: cards, lists and free films

The amodb WordPress plugin adds movie, TV show and person cards, popular, top rated and trending lists, public domain film lists and a free film player to any WordPress site, as blocks and shortcodes. It works on every amodb plan, caches answers in transients and sends no visitor data.

Updated View as Markdown

What does the plugin add?

amodb Movie and TV Data puts movie data on any WordPress site, as editor blocks and as shortcodes:

BlockShortcodePlan
Movie or TV card: poster, year, rating, runtime, genres, plot, cast[amodb_movie id="550"], [amodb_tv id="1399"]every plan
Person card: photo, department, biography[amodb_person id="287"]every plan
Title list: popular, top rated, trending, upcoming, on the air[amodb_list type="trending" kind="movie" count="8"]every plan
Public domain films with their license[amodb_free_films kind="movie" country="US" count="12"]Pro+
Free film player[amodb_film_player id="961"]Pro+ Streaming

Text comes in the site's language when it is one of the 14 amodb languages, or in the language you choose.

How do I install it?

  1. In WordPress, go to Plugins, Add New, and search for "amodb Movie and TV Data". Or download the zip from GitHub and upload it.
  2. Activate it.
  3. Get a key at amodb pricing and paste it in Settings, amodb.
  4. Add an amodb block to a post, or paste a shortcode.

How do I find the id of a film?

Use the TMDB id: the number in the film's address on themoviedb.org, such as 550 for Fight Club. The search endpoint finds it by name.

How do I add a page of free films?

Add the "amodb public domain films" block, set the country your visitors are in and the number of films. Each tile carries a "Public domain" or license badge. For a film page, add a movie card and the "amodb free film player" block with the same id. The player plays Wikimedia Commons and Internet Archive copies; Settings, amodb, Film player also allows other checked links.

How does it call the API?

Your server calls https://api.amodb.dev/3 with your key when a page is rendered and the cached answer has expired. Answers stay in WordPress transients for 6 hours by default (Settings, amodb, Cache). Stream links are never cached. When a card cannot load, visitors see nothing and editors see a short note naming the reason, such as a plan without that feature.

Practical notes

  • One page with five cards costs five calls every 6 hours, whatever your traffic.
  • Show free films only in the countries their license lists.
  • The plugin's code is on GitHub. For your own PHP code, see the PHP tutorial.