Title: AppsFruit Elementor Embed
Author: Appsfruit
Published: <strong>2025 年 11 月 1 日</strong>
Last modified: 2026 年 4 月 23 日

---

搜尋外掛

![](https://ps.w.org/appsfruit-embed-for-elementor/assets/banner-772x250.jpg?rev
=3388077)

![](https://ps.w.org/appsfruit-embed-for-elementor/assets/icon-256x256.jpg?rev=3388077)

# AppsFruit Elementor Embed

 由 [Appsfruit](https://profiles.wordpress.org/appsfruit/) 開發

[下載](https://downloads.wordpress.org/plugin/appsfruit-embed-for-elementor.1.0.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/appsfruit-embed-for-elementor/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/appsfruit-embed-for-elementor/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/appsfruit-embed-for-elementor/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/appsfruit-embed-for-elementor/#developers)

 [技術支援](https://wordpress.org/support/plugin/appsfruit-embed-for-elementor/)

## 外掛說明

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 AEFE 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

    ```
    [aefe_embed id="123"]
    ```

Replace `123` with your template ID.

#### Conditional Display

**Device-Specific Display:**
 [aefe_embed id=”123″ device=”mobile”] [aefe_embed 
id=”123″ device=”desktop”]

**Role-Based Display:**
 [aefe_embed id=”123″ role=”administrator”] [aefe_embed 
id=”123″ role=”editor|subscriber”]

**Post Type Specific:**
 [aefe_embed id=”123″ post_type=”page”] [aefe_embed id=”
123″ post_type=”post|product”]

**Combined Conditions:**
 [aefe_embed id=”123″ device=”mobile” role=”subscriber”
post_type=”post”]

#### Developer Hooks

The plugin provides several hooks and filters for developers:

 * `aefe_shortcode_atts` – Modify shortcode attributes
 * `aefe_should_display` – Add custom display conditions
 * `aefe_should_render_template` – Prevent template rendering
 * `aefe_template_content` – Modify template output
 * `aefe_before_render_template` – Action before rendering
 * `aefe_after_render_template` – Action after rendering

## 適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

 *   Insert Elementor Template

## 安裝方式

 1. Upload the `appsfruit-elementor-embed` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Make sure Elementor is installed and activated
 4. Start creating AEFE Templates!

## 常見問題集

### Can I use this with Elementor Free?

Yes! This plugin works with both Elementor Free and Elementor Pro.

### Will templates update everywhere when I edit them?

Yes! Templates are dynamically rendered, so any changes you make will automatically
appear everywhere the template is embedded.

### Can I embed regular WordPress posts/pages?

Yes! While the plugin is designed for AEFE Templates, you can embed any post or 
page created with Elementor by using its ID in the shortcode.

### Does this work with page builders other than Elementor?

The plugin is specifically designed for Elementor. For non-Elementor content, it
will fall back to displaying the regular post content.

### Can I use multiple conditions in one shortcode?

Yes! You can combine device, role, and post_type conditions in a single shortcode.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈AppsFruit Elementor Embed〉的開發相關工作。

參與者

 *   [ Appsfruit ](https://profiles.wordpress.org/appsfruit/)

[將〈AppsFruit Elementor Embed〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/appsfruit-embed-for-elementor)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/appsfruit-embed-for-elementor/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/appsfruit-embed-for-elementor/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/appsfruit-embed-for-elementor/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/appsfruit-embed-for-elementor/)。

## 變更記錄

#### 1.0.4

 * Security: set `publicly_queryable` to `false` on the `aefe_template` post type
   to prevent direct URL access exposing raw template content.
 * Fixed `template_include()` always returning the custom template for the post 
   type regardless of whether Elementor is active.

#### 1.0.3

 * Fixed Elementor frontend JavaScript not loading on pages not built with Elementor,
   causing JS-dependent widgets (sliders, tabs, accordions) to not function when
   embedded via shortcode or Gutenberg block.

#### 1.0.2

 * Fixed version constant out of sync with plugin header.

#### 1.0.1

 * Fixed shortcode displaying as raw text due to init timing with Elementor.
 * Fixed fatal PHP error when Elementor document is null.
 * Fixed missing Elementor stylesheet for embedded templates.
 * Fixed empty output in admin-AJAX and REST API contexts.
 * Fixed unquoted shortcode `id` attribute in admin column.

#### 1.0.0

 * Initial release
 * Custom post type for AEFE Templates
 * Shortcode support with conditional attributes
 * Gutenberg block integration
 * Categories and tags for organization
 * Quick copy shortcode functionality
 * Developer hooks and filters
 * Comprehensive documentation

## 中繼資料

 *  版本 **1.0.5**
 *  最後更新 **2 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/appsfruit-embed-for-elementor/)
 * 標籤:
 * [elementor](https://tw.wordpress.org/plugins/tags/elementor/)[embed](https://tw.wordpress.org/plugins/tags/embed/)
   [gutenberg](https://tw.wordpress.org/plugins/tags/gutenberg/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [templates](https://tw.wordpress.org/plugins/tags/templates/)
 *  [進階檢視](https://tw.wordpress.org/plugins/appsfruit-embed-for-elementor/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/appsfruit-embed-for-elementor/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/appsfruit-embed-for-elementor/reviews/)

## 參與者

 *   [ Appsfruit ](https://profiles.wordpress.org/appsfruit/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/appsfruit-embed-for-elementor/)