最近更新的页面
Rendering Text
The most common widget rendering use case is to print the value of a simple text control. These c...
Rendering Style
A common widget rendering use case is using the control value to style different HTML elements. U...
Rendering Repeaters
One advanced use case is to render multiple elements using the repeater control. Here, users set ...
Rendering Media
Elementor lets you select an image using the media control defined in the \Elementor\Control_Med...
Rendering Inline Editing
When developing widgets, developers can define which controls will be inline editable in both the...
Rendering HTML Attributes
This type of rendering is used to add render attributes to specific HTML elements. For example, a...
Remove Widgets
To remove existing widget developers can simply unregister existing widget by passing the widget ...
Elementor 小工具
Elementor 在小工具面板中内置了数十个实用的小工具。这些小工具按类别划分。每个小工具都有一套自定义控件(输入字段),允许最终用户输入数据。 管理小工具 外部开发者可以注册新的小工具或注销...
Advanced Example
For a more advanced example we will create a widget with a repeater field, to allow the user to g...
Add New Widget
Elementor offers many built-in widgets out of the box, but it also allows external developers to ...
Registering Locations
To support Elementor locations, the theme needs to register supported locations in the functions...
Original Theme
To simplify the theme migration process, we stripped all custom code from the original theme (inc...
Migrating Themes
Now we'll see how to support Elementor theme locations in your theme. The logic behind the proces...
Migrating Themes with Hooks
In this example, we'll add theme locations to the original theme using hooks. After migration, th...
Migrating Themes with Functions
In this example, we'll add theme locations to the original theme using simple functions. After mi...
Theme Locations
Elementor Pro 2.0 introduced a theme builder. This feature transformed Elementor from a page-buil...
Displaying Locations
Displaying Elementor locations in your theme is a simple process. The elementor_theme_do_locatio...
Sub-Conditions
Conditions can have sub-conditions in order to narrow the conditions. For example, instead of app...
简单示例
为演示扩展主题条件是多么简单,我们将创建一个插件来注册一个条件,用于检查访问者是否已登录。该插件将帮助 Elementor 用户向已登录访问者显示某些模板,而向匿名访问者显示其他模板。 文件夹结...
Theme Conditions
Elementor Pro 2.0 introduced a condition-based template display mechanism. This allows users to s...