Halloween Sale: up to 50% off yearly plans and up to 70% off lifetime licences.

Ends Nov 5 at 11:59 pm +06. See pricing

Shortcodes and page builders

Written for GreetPlayer 5.0.1

Free Works in GreetPlayer Free and Pro.

Players, audio players and playlists are placed with a shortcode, so they work anywhere WordPress runs shortcodes.

The shortcodes

  • [greet_bubble id="54"]: embed an entry (a player, audio player or playlist) by its ID.
  • [greet_bubble_popup id="54" label="Watch video"]: a button that opens the player in a lightbox. Text between opening and closing tags replaces the label.

Step by step

Add a player with the block editor.

  1. Copy the shortcode

    The How To Use This Media panel showing the player shortcode

    Open the entry in GreetPlayer → Media and copy the shortcode under How To Use This Media.

  2. Paste it into a Shortcode block

    The block editor with a Shortcode block holding a GreetPlayer shortcode

    In the block editor, add a Shortcode block and paste the shortcode. Update the page.

Page builders

In Elementor, Divi, Beaver Builder, Bricks and other builders, use the builder’s own Shortcode element. GreetPlayer has no builder-specific widgets. The floating bubble needs no shortcode: it’s added to the page footer automatically.

See it live See embedded players →

Related

Was this article helpful?

Greet every visitor with a video that moves them to act

Start free from WordPress.org. Upgrade to Pro when you need lead capture forms, premium video sources, device targeting and advanced analytics.

Watch a quick hello
Watch the player demo
See all featuresSee all features
View pricingView pricing