აღწერა
Widgets (Wpshare247 Addons) for Elementor. Wpshare247 Addons for Elementor plugin includes widgets and addons like Blog Post, Products, Post, Page and Custom Post Type Grid or Carousel, Countdown, Contact Form 7.
Liên hệ – Contact Us
Professional website design – Thiết kế website chuyên nghiệp: tbay.vn
Web design – Thiết kế web trọn gói: website366.com
Sample Website – Thiết kế web giá rẻ: waoweb.vn
Wordpress Share – Học wordpress: wpshare247.com
Web Content – Viết bài chăm sóc web: vietbaigiare.com
Cách dùng filter thêm Custom Widget – How to use custom Widget
1. Copy folder wpshare247-custom-widgets
from the plugin path:
wpshare247-elementor-addons/your-custom-sample/wpshare247-custom-widgets
into your current theme folder, like:
wp-content/themes/your-theme/wpshare247-custom-widgets
-
Inside that folder, you will find
wpshare247_my_custom.php
.
This is a sample widget file. You can use it directly, or duplicate and create more widget files. -
In your theme’s
functions.php
, add the following code to register custom widgets:`php
add_filter( ‘wpshare247_el_addons_custom_widgets’, function( $widgets ) {
$widgets[] = [
‘file’ => get_stylesheet_directory() . ‘/wpshare247-custom-widgets/wpshare247_my_custom.php’,
‘class’ => ‘Wpshare247_My_Custom’,
];/*
// Example: Add more widgets if needed
$widgets[] = [
‘file’ => get_stylesheet_directory() . ‘/wpshare247-custom-widgets/wpshare247_my_custom_new1.php’,
‘class’ => ‘Wpshare247_My_Custom_New1’,
];
*/return $widgets;
});
დაყენება
- Tải thư mục
wpshare247-elementor-addon
vào đường dẫn/wp-content/plugins/
- Kích hoạt từ menu Plugins (Plugins > Installed Plugins).
მიმოხილვები
There are no reviews for this plugin.
მონაწილეები & დეველოპერები
“WPSHARE247 Elementor Addons” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.
მონაწილეებიგადათარგმნეთ WPSHARE247 Elementor Addons თქვენს ენაზე.
დაინტერესებული ხართ დეველოპმენტით?
დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.
ცვლილებები
1.0
- Publishing plugin
1.0.1
- Add new widget: Countdown
2.1
- Add new widget: Product price
2.2
- Enhanced
wpshare247_posts_widget
: Added custom title styling options including line-clamp control (number of lines) and height adjustment via Elementor controls. - Introduced new filter hook
wpshare247_el_addons_custom_widgets
allowing developers to register additional widgets from theme or other plugins with custom widget class and path.
** How to use: Copy folderwpshare247-custom-widgets
in plugin: wpshare247-elementor-addons/your-custom-sample/wpshare247-custom-widgets to your-theme/wpshare247-custom-widgets
2.3
- Fix: Missing file 2.2
2.4
- Filter post by category, tags
- Fix css: wpshare247-flex-wrap, display: flex;