ShortX Elementor Addon
Custom Elementor Post Content widget with truncation controls.
★ 0stars
0forks
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/prangishviliabe/shortx/archive/refs/heads/main.zipReadme
ShortX Elementor Addon
ShortX is a custom Elementor widget designed to give you precise control over your post content display. It allows you to truncated text by character count or visually limit lines using CSS line-clamp, all while preserving the design integrity of your layout.
Features
- Character Truncation: Limit the number of characters displayed (server-side truncation).
- Line Limiting: Limit the number of visible lines using CSS line-clamp (visual truncation).
- Ellipsis Support: Automatically adds
...when text is truncated. - Style Controls: Full typography, color, and text shadow controls via Elementor's Style tab.
- Advanced Text Distribution: Includes dedicated Text Justify (inter-word, inter-character, etc.) and Hyphens controls for precise text alignment when using
justify. - Lightweight: Minimal code, optimized for performance.
Installation
- Download the plugin.
- Upload the
shortxfolder to your/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Edit a page with Elementor and search for the ShortX Post Content widget.
Usage
- Drag and drop the ShortX Post Content widget into your page.
- In the Content tab:
- Set Character Count to limit by characters (e.g., 150).
- Set Line Count to limit by lines (e.g., 3).
- In the Style tab:
- Customize typography, text color, and text shadow.
- Set Alignment to Justify to reveal advanced text distribution controls.
- Control Text Justify (Distribution) to define spacing (inter-word, inter-character, auto).
- Enable Hyphens to automatically hyphenate words for a cleaner justified look.
Author
Abe Prangishvili