Introduction

Shortcodes are available since WPMovieLibrary 1.1.0-beta.1. As per the WordPress Codex, shortcodes are « macro codes for use in post content ». WPMovieLibrary comes with several to use in all your themes, posts, pages, custom post types, comments, widgets…

Usage

WPMovieLibrary Shortcodes are just WordPress regular Shortcodes, nothing more to do:

Shortcode Will output
[movie_title id="007"] Title
  Quantum of Solace
[movie_director title="Se7en"] Director
  David Fincher

Available Shortcodes

Shortcode Description Doc
General
[movie_grid] The basic, grid view movie list, including alphabetical menu and pagination.
[movies] The most general shortcode, display movies by various criteria: collection, genre, actor, genre, sort by title, date, rating…
[movie] Second most general shortcode, display a single movie. You can chose which should appear: poster, metadatas, details…
[movie_poster] Show a specific movie poster.
[movie_images] Show images from a specific movie.
Movie metadata
[movie_meta] Show a specific movie meta, like ‘director’ or ‘overview’.
[movie_title] Alias for [movie_meta], showing only the movie’s title.
[movie_director] Alias for [movie_meta], showing only the movie’s director.
[movie_genres] Alias for [movie_meta], showing only the movie’s genres.
[movie_actors] Alias for [movie_meta], showing only the movie’s casting.
[movie_original_title] Alias for [movie_meta], showing only the movie’s original title.
[movie_release_date] Alias for [movie_meta], showing only the movie’s release date.
[movie_runtime] Alias for [movie_meta], showing only the movie’s runtime.
[movie_overview] Alias for [movie_meta], showing only the movie’s overview.
[movie_producer] Alias for [movie_meta], showing only the movie’s producer(s).
[movie_language] Alias for [movie_meta], showing only the movie’s languages.
[movie_production] Alias for [movie_meta], showing only the movie’s production companies.
[movie_country] Alias for [movie_meta], showing only the movie’s production countries.
[movie_photography] Alias for [movie_meta], showing only the movie’s director of photography.
[movie_writer] Alias for [movie_meta], showing only the movie’s writer.
[movie_author] Alias for [movie_meta], showing only the movie’s author.
[movie_composer] Alias for [movie_meta], showing only the movie’s original music composer.
Movie details
[movie_detail] Show a specific movie detail: media, status or rating.
[movie_rating] Alias for [movie_detail], showing only the movie’s rating.
[movie_status] Alias for [movie_detail], showing only the movie’s status.
[movie_media] Alias for [movie_detail], showing only the movie’s media.

Flattr this!

Fork me on GitHub