Skip to content
Content & Library

Hero Section Shortcode

Estimated reading: 3 minutes 262 views

movie_engine_hero shortcode featured banner: Use [movie_engine_hero] in MovieEngine for a featured hero banner for movies, series, or custom content, with slider, autoplay, layout, overlay, and content visibility controls.

Basic Usage

[movie_engine_hero]

Example

[movie_engine_hero post_type="movie_engine_movie" type="trending" limit="5" autoplay="true"]

Core Query

Controls which content is displayed in the hero section.

ParameterTypeDefaultDescription
post_typestring—Content type (movie_engine_movie, movie_engine_series, etc.)
limitnumber5Number of items to display
idsstring—Comma-separated post IDs
typestring—Predefined query (trending, new_releases, upcoming, top_rated)
orderbystringdateSorting method
orderstringDESCSort direction

Example

[movie_engine_hero post_type="movie_engine_movie" limit="5" orderby="date"]

Taxonomy Filters

Filter hero content using taxonomy values like genre, year, or language.

ParameterTypeDefaultDescription
genrestring—Genre slug
yearstring—Year slug
languagestring—Language slug

Example

[movie_engine_hero genre="action" year="2024"]

Layout & Display

Control hero layout style and structure.

ParameterTypeDefaultDescription
layoutstringsliderLayout type (slider, single)
stylestringdefaultHero style variation (style1, style2, style3)
heightstringautoHero section height (px, vh)
overlaystringtrueEnable overlay background
overlay_opacitynumber70Overlay darkness (0–100)

Example

[movie_engine_hero layout="slider" overlay="true" overlay_opacity="80"]

Slider Options

Only applies when layout="slider".

ParameterTypeDefaultDescription
autoplaystringfalseEnable autoplay
autoplay_speednumber3000Delay between slides
loopstringtrueInfinite loop
pause_on_hoverstringtruePause on hover
show_dotsstringtrueShow navigation dots

Example (Slider)

[movie_engine_hero autoplay="true" autoplay_speed="5000" loop="true"]

Content Visibility

Control what appears inside each hero item.

ParameterTypeDefaultDescription
show_titlestringtrueShow title
show_metastringtrueShow metadata (year, duration)
show_descriptionstringtrueShow description
show_buttonsstringtrueShow action buttons
show_ratingstringtrueShow rating
show_viewsstringfalseShow views

Example

[movie_engine_hero show_description="false" show_views="true"]

Action Buttons

Control hero CTA buttons.

ParameterTypeDefaultDescription
show_watch_nowstringtrueShow Watch Now button
show_watch_laterstringtrueShow Watch Later
show_trailerstringtrueShow Trailer button
show_add_to_liststringtruePlaylist button

Example (Buttons)

[movie_engine_hero show_watch_now="true" show_trailer="false"]

Styling

ParameterTypeDefaultDescription
custom_classstring—Custom CSS class

Supported Values

post_type

  • movie_engine_movie
  • movie_engine_series
  • movie_engine_season
  • movie_engine_episode

type

  • trending
  • new_releases
  • upcoming
  • top_rated

layout

  • slider
  • single

Related Shortcodes

  • movie_engine_library
  • movie_engine_grid

Behavior Notes

  • If ids is set → overrides all queries
  • If type is used → overrides orderby
  • The slider is disabled when there is only 1 item
  • Uses featured image/backdrop as background

Example Shortcodes

Trending Hero

[movie_engine_hero type="trending" limit="5"]

Single Featured Movie

[movie_engine_hero ids="123"]

Hero Slider with Autoplay

[movie_engine_hero layout="slider" autoplay="true" autoplay_speed="4000"]

movie_engine_hero shortcode featured banner explained

movie_engine_hero shortcode featured banner controls what appears in a featured hero section: the content query, the slider or single layout, the overlay and height, and which titles, metadata, descriptions, and action buttons are shown.

Use the slider options for autoplay, speed, looping, and navigation dots, and the content visibility parameters to show or hide the title, metadata, description, rating, views, and buttons such as Watch Now, Watch Later, Trailer, and Add to List.

Frequently asked questions

What is [movie_engine_hero]?

[movie_engine_hero] displays a featured hero or banner section for movies, series, or custom content.

Can the hero shortcode autoplay?

Yes. It offers slider and autoplay options, plus layout, overlay, and content visibility controls.

What action buttons can a hero show?

A hero can show action buttons configured through the shortcode parameters in this guide.

Related guides

Tip: for more about MovieEngine, visit the MovieEngine website.

Share this Doc

Hero Section Shortcode

Or copy link

CONTENTS
Back To Top