{"id":49747,"date":"2016-07-21T08:03:09","date_gmt":"2016-07-21T08:03:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/f13-movie-shortcode\/"},"modified":"2023-07-08T10:51:10","modified_gmt":"2023-07-08T10:51:10","slug":"f13-movie-shortcode","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/f13-movie-shortcode\/","author":15028504,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.4","stable_tag":"trunk","tested":"6.2.9","requires":"3.0.1","requires_php":"","requires_plugins":null,"header_name":"F13 Movies","header_author":"F13Dev","header_description":"","assets_banners_color":"bba8c3","last_updated":"2023-07-08 10:51:10","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/f13dev.com\/wordpress-plugin-movie-shortcode\/","header_plugin_uri":"https:\/\/f13.dev\/wordpress-plugins\/wordpress-plugin-movies\/","header_author_uri":"https:\/\/f13.dev","rating":0,"author_block_rating":0,"active_installs":30,"downloads":5482,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"f13dev","date":"2021-10-23 08:42:24"},"2.0.1":{"tag":"2.0.1","author":"f13dev","date":"2021-10-29 05:02:11"},"2.0.2":{"tag":"2.0.2","author":"f13dev","date":"2022-03-26 13:48:09"},"2.0.3":{"tag":"2.0.3","author":"f13dev","date":"2022-07-23 07:08:18"},"2.0.4":{"tag":"2.0.4","author":"f13dev","date":"2022-12-13 15:46:24"},"2.1.0":{"tag":"2.1.0","author":"f13dev","date":"2023-04-03 18:29:50"},"2.1.1":{"tag":"2.1.1","author":"f13dev","date":"2023-07-08 09:27:43"},"2.1.2":{"tag":"2.1.2","author":"f13dev","date":"2023-07-08 09:27:43"}},"upgrade_notice":{"1.0":"<p>Initial release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2621582,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2621582,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2618682,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2618682,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0","2.1.1","2.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2893037,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2893037,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2893037,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"The results of adding [movie imdb=\"tt0480249\"] to a blog post."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[230,15204,1607,80,61929],"plugin_category":[43,50,56],"plugin_contributors":[92138],"plugin_business_model":[],"class_list":["post-49747","plugin","type-plugin","status-publish","hentry","plugin_tags-embed","plugin_tags-episode","plugin_tags-movie","plugin_tags-shortcode","plugin_tags-tv-show","plugin_category-customization","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-f13dev","plugin_committers-f13dev"],"banners":{"banner":"https:\/\/ps.w.org\/f13-movie-shortcode\/assets\/banner-772x250.png?rev=2618682","banner_2x":"https:\/\/ps.w.org\/f13-movie-shortcode\/assets\/banner-1544x500.png?rev=2618682","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/f13-movie-shortcode\/assets\/icon-128x128.png?rev=2621582","icon_2x":"https:\/\/ps.w.org\/f13-movie-shortcode\/assets\/icon-256x256.png?rev=2621582","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/f13-movie-shortcode\/assets\/screenshot-1.png?rev=2893037","caption":"The results of adding [movie imdb=\"tt0480249\"] to a blog post."},{"src":"https:\/\/ps.w.org\/f13-movie-shortcode\/assets\/screenshot-2.png?rev=2893037","caption":""},{"src":"https:\/\/ps.w.org\/f13-movie-shortcode\/assets\/screenshot-3.png?rev=2893037","caption":""}],"raw_content":"<!--section=description-->\n<p>Using Movie Shortcode you can easily add information about a movie, tv show, episode or actor to a blog post.<\/p>\n\n<p>Simply enter the shortcode: [movie imdb=\"an IMDB ID\"] or [movie title=\"A Movie Title\"] to a blog post to add an array of information about the movie, tv show or episode; or enter the shortcode [actor tmdb=\"a TMDB person ID\"] or [actor name=\"An actors name\"] to a blog post to add an array of information about the actor.<\/p>\n\n<h3>Movie<\/h3>\n\n<p>Optional attributes:<\/p>\n\n<ul>\n<li>cachetime=\"A time in minutes\" - default is 1440 (24 hours)<\/li>\n<li>plot=\"short|full\" - default is full<\/li>\n<li>disable=\"title,image,plot,information,rating\" - comma separated list of sections to remove<\/li>\n<li>image_size=\"1200\" - maximum image size in pixels<\/li>\n<li>trailer=\"youtube video ID\" - a youtube video ID for the movie trailer<\/li>\n<\/ul>\n\n<p>If adding the shortcode with a title, rather than an IMDB ID, the following attributes are also optional to find the correct entry:<\/p>\n\n<ul>\n<li>type=\"movie|series|episode\"<\/li>\n<li>year=\"The year of the movie\"<\/li>\n<\/ul>\n\n<h3>Actor<\/h3>\n\n<p>Optional attributes (actor):<\/p>\n\n<ul>\n<li>cachetime=\"A time in minutes\" - default is 1440 (24 hours)<\/li>\n<\/ul>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Styled appearance<\/li>\n<li>Shows film title, year, release date<\/li>\n<li>If showing a series, the total number of seasons is displayed<\/li>\n<li>If showing an episode, the season and episode number are displayed<\/li>\n<li>Displays the plot or synopsis<\/li>\n<li>Displays a poster image if one is available<\/li>\n<li>If a poster image is available it is added to your media library and loaded locally<\/li>\n<li>Displays movie stats such as the runtime, genre, awards, director, writer, Actors<\/li>\n<li>Displays the available languages and country of origin<\/li>\n<li>Provides the IMDB rating, including a star rating image<\/li>\n<li>Adds a link to the movie on IMDB<\/li>\n<li>Utilizes transient caching to reduce page load times and api calls<\/li>\n<li>Disable widget blocks to customize the appearance to your needs<\/li>\n<\/ul>\n\n<h3>Arbitrary section<\/h3>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Add the shortcode [movie imdb=\"an IMDB ID\"], or [movie title=\"A movie title\"] to the desired location on your blog<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20find%20an%20imdb%20id'><h3>How do I find an IMDB ID<\/h3><\/dt>\n<dd><p>When viewing a movie, tv show or episode on IMDB.com, the ID is the string starting with 'tt', usually in the format www.imdb.com\/title\/imdbid\/<\/p><\/dd>\n<dt id='how%20do%20i%20adjust%20the%20cache%20time'><h3>How do I adjust the cache time<\/h3><\/dt>\n<dd><p>Add the attribute cachetime=\"a time in minutes\" to your shortcode<\/p><\/dd>\n<dt id='using%20the%20shortcode%20with%20a%20title%20returns%20the%20wrong%20movie'><h3>Using the shortcode with a title returns the wrong movie<\/h3><\/dt>\n<dd><p>Try adding the optional attributes, type=\"movie|series|episode\" and year=\"a year\" to refine your search result<\/p><\/dd>\n<dt id='how%20do%20i%20hide%20the%20plot%20and%20information'><h3>How do I hide the plot and information<\/h3><\/dt>\n<dd><p>Include the optional \"disable\" attribute, disable=\"plot,information\"<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>Fix removing all non alphanumeric characters from IMDB ID<\/li>\n<\/ul>\n\n<h4>2.1.3<\/h4>\n\n<ul>\n<li>Fix instructions for TMDB API, Read Access Token is required, not API Key<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Improved error handling for TMDB API, if API returns an error, this is presented to the user<\/li>\n<li>Notify user of success \/ error when saving admin settings<\/li>\n<li>Fix: setting cachetime=0 in shortcode forces API call on every page load<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Adding alt text to images<\/li>\n<li>Setting TMDB logo as no-lightbox<\/li>\n<li>Removing console logs if F13_MOVIE_DEV is false<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Adding \"image_size\" attribute to movie shortcode<\/li>\n<li>Adding \"trailer\" attribute to movie shortcode<\/li>\n<li>Adding secondary API via \"The Movie Database\"<\/li>\n<li>Adding \"actor\" shortcode<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Adding \"title\" to disable fields<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>CSS box sizing, stopping plot overflowing into other elements<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Optional attribute to disable blocks from the widget<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Do you blog about movies? It can be tedious adding movie information manually, now you can add movie information with shortcode using an IMDB ID.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49747"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/f13dev"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49747"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49747"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49747"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49747"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49747"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}