Monetization
Ad Sidebar Shortcode
The Ad Sidebar shortcode allows you to display advertisements inside sidebar areas of your website.
It is designed to work with the pluginβs Advertisement Monetization system, enabling you to show banner ads, HTML ads, or ad network scripts (like Google AdSense).
π¦ Shortcode
| Shortcode | Description |
|---|---|
movie_engine_ad_sidebar | Displays sidebar advertisement |
π Basic Usage
[movie_engine_ad_sidebar]
βοΈ Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| (No parameters) | β | β | Loads ad content from admin settings |
π― How It Works
The shortcode automatically:
- Fetches ad code from Admin β Ads Settings
- Displays configured sidebar ads
- Supports HTML, image, and script-based ads
π Where to Use
You can place this shortcode in:
- Sidebar widgets
- Single movie page sidebar
- Blog sidebar
- Custom page sections
π‘ Supported Ad Types
- HTML banner ads
- Image ads (with link)
- Google AdSense code
- Third-party ad networks
βοΈ Admin Configuration
Before using this shortcode, configure ads in:
π Admin Panel β Advertisement Settings
Available placements include:
- Header (Site-wide)
- Footer (Site-wide)
- Player Top Banner
- Player Bottom Banner
- Before Content
- After Content
- Sidebar Ads (used here)
π Behavior Notes
- Ads are globally controlled by the admin
- No need to edit the shortcode after setup
- Changes reflect instantly across site
π¨ Styling
- Inherits theme sidebar styles
- Responsive by default
- Customizable via CSS
β οΈ Important Notes
- If no ad is set β nothing will display
- Ensure valid ad code (HTML/JS)
- Ad blockers may hide ads
π Example Use Case
Sidebar Widget
[movie_engine_ad_sidebar]
Movie Page Sidebar
[movie_engine_ad_sidebar]
π― Best Practice
π Use in:
- Right sidebar (desktop)
- Below content (mobile fallback)
π Combine with:
- Sticky sidebar
- High CTR placements
