Advanced Product Card Elementor Widget
Custom Elementor widgets for WordPress: Advanced Product Card (shape clipping, banner, full-card link) and Double Heading (separate span styling and layout control)
by aliabbas-2012 · github.com/aliabbas-2012/elementor-advanced-product-card-double-heading
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/aliabbas-2012/elementor-advanced-product-card-double-heading/archive/refs/heads/master.zipAdvanced Product Card + Double Heading (Elementor)
Custom WordPress plugin that adds two Elementor widgets:
Product Card AdvancedDouble Heading
This plugin is useful when you need a highly customizable product-style card and a heading where one part is styled independently using a <span>.
Features
1) Product Card Advanced
- Image, title, caption, price, divider, and corner banner controls
- Card-wide link (
href) with optional open in new tab - Card style controls (background, hover, border, padding)
- Image box style controls (background, border, margin, padding, height)
- Image fit/alignment controls
- Shape clipping options:
- None, Circle, Ellipse, Triangle, Diamond, Hexagon, Pentagon, Star
- Parallelogram with:
- Direction:
Left Top (-)orRight Top (+) - Lean slider (0-50)
- Direction:
- Custom clip-path input
- Banner position and full style controls
- Typography/color/margin controls for title, caption, and price
- Divider style controls
2) Double Heading
Outputs one heading with two parts:
<h1>Heading Part 1 <span>Heading Part 2</span></h1>
- Selectable heading tag (
h1-h6,div,span,p) - Separate text inputs for heading part 1 and span part 2
- Span direction:
- Same line
- Down (next line)
- Separate style controls for heading and span:
- Typography
- Color
- Margin (span)
If span typography is not set, it naturally inherits from the parent heading.
Installation
- Copy
custom-elementor-product-card.phpinto a plugin folder, for example:wp-content/plugins/advanced-product-card-elementor/
- Make sure Elementor is installed and active.
- Activate the plugin from WordPress Admin > Plugins.
- Open Elementor editor and search for:
Product Card AdvancedDouble Heading
Usage
Product Card Advanced
- Drag the widget into your page.
- Fill content fields (image, title, caption, price, etc.).
- Optional: set Card Link and enable/disable Open In New Tab.
- Customize card/image/banner/title/divider/text styles in the Style tab.
Double Heading
- Drag the widget into your page.
- Enter:
Heading Part 1Heading Part 2 (Span)
- Choose heading tag.
- Set span direction (same line or down).
- Customize heading and span styles.
Notes
- Built for Elementor widget system (
\Elementor\Widget_Base). - Includes output escaping for URL and attribute contexts.
- Tested with
php -lsyntax validation.
Suggested GitHub Description
Custom Elementor widgets for WordPress: advanced product card with shape clipping + clickable card link, and a double heading widget with independent span styling.
License
Use your preferred license (MIT, GPL-2.0-or-later, etc.) before publishing publicly.