[WordPress] 外掛分享: AppsFruit Elementor Embed

首頁外掛目錄 › AppsFruit Elementor Embed
WordPress 外掛 AppsFruit Elementor Embed 的封面圖片
全新外掛
安裝啟用
尚無評分
62 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.1 上架:2025-10-31

內容簡介

總結:AppsFruit Elementor Embed 是一個外掛,允許您在網站的任何位置使用簡單的短代碼或 Gutenberg 區塊,嵌入 Elementor 頁面、模板和全域區段,並提供高級條件顯示選項。

問題與答案:
1. AppsFruit Elementor Embed 可以讓您在網站的哪些位置嵌入 Elementor 頁面、模板和全域區段?
- 使用簡單的短代碼或 Gutenberg 區塊。

2. 可以根據什麼條件顯示模板?
- 可以根據裝置(手機/桌面)、使用者角色或文章類型等條件顯示模板。

3. 這個外掛提供了什麼開發者友善的功能?
- 提供廣泛的鉤子和過濾器,用於自定義。

4. 使用這個外掛需要符合哪些系統要求?
- WordPress 5.8 或更高版本、PHP 7.4 或更高版本、已安裝並啟用的 Elementor(免費版本)。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「AppsFruit Elementor Embed」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

AppsFruit Elementor Embed allows you to embed Elementor pages, templates, and global sections anywhere on your site using simple shortcodes or Gutenberg blocks with advanced conditional display options.
Key Features

Embed Anywhere: Insert Elementor templates using simple shortcodes or Gutenberg blocks
Conditional Display: Show templates based on device (mobile/desktop), user role, or post type
Custom Post Type: Dedicated AFE Templates post type with full Elementor support
Organization: Built-in categories and tags for template management
Quick Copy: One-click shortcode copying from admin interface
Global Sync: Update once, reflect everywhere
Gutenberg Block: Visual template insertion without shortcodes
Developer Friendly: Extensive hooks and filters for customization
Secure & Lightweight: Follows WordPress coding standards

Requirements

WordPress 5.8 or higher
PHP 7.4 or higher
Elementor (free version) installed and activated

Basic Usage
[afe_embed id=123]

Replace 123 with your template ID.
Conditional Display
Device-Specific Display:
[afe_embed id=123 device=”mobile”]
[afe_embed id=123 device=”desktop”]
Role-Based Display:
[afe_embed id=123 role=”administrator”]
[afe_embed id=123 role=”editor|subscriber”]
Post Type Specific:
[afe_embed id=123 post_type=”page”]
[afe_embed id=123 post_type=”post|product”]
Combined Conditions:
[afe_embed id=123 device=”mobile” role=”subscriber” post_type=”post”]
Developer Hooks
The plugin provides several hooks and filters for developers:

afe_shortcode_atts – Modify shortcode attributes
afe_should_display – Add custom display conditions
afe_should_render_template – Prevent template rendering
afe_template_content – Modify template output
afe_before_render_template – Action before rendering
afe_after_render_template – Action after rendering

延伸相關外掛

文章
Filter
Apply Filters
Mastodon