Visulogix
Advanced visual logic & conditional display plugin for Elementor.
by Abe Prangishvili · github.com/prangishviliabe/wp-visulogix · website
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/wp-visulogix/archive/refs/heads/main.zipReadme
Visulogix - Advanced Visual Logic Plugin for Elementor

🎯 Overview
Visulogix is an advanced visual logic and conditional display plugin for Elementor that transforms how you control element visibility. With an intuitive visual content browser, comprehensive conditional logic system, and seamless Elementor integration, you can create dynamic, personalized experiences for your visitors.
✨ Key Features
🎨 Visual Content Browser
- Thumbnail previews for posts, pages, and categories
- Bookmark system to save favorite content
- Search and filter capabilities
- Grid-based interface for easy browsing
- Real-time content loading with AJAX
🎯 Smart Conditional Logic
- Quick selectors for pages, posts, and categories
- Advanced condition builder with multiple criteria
- Logic operators (AND/OR) for complex conditions
- Universal element support (widgets, sections, columns, containers)
🚀 Comprehensive Condition Types
- Content-based: Pages, posts, categories, custom post types
- User-based: Login status, user roles, capabilities
- Technical: Device types, browser detection
- Temporal: Date ranges, time-based conditions
- Custom: Meta fields, taxonomies, and more
🎭 Smooth Animations
- Multiple animation types: Fade, slide (up/down/left/right)
- Customizable timing and speed controls
- Performance optimized with CSS3 transitions
🛠️ Professional Tools
- Conditions manager with overview dashboard
- Import/Export functionality for easy migration
- Debug mode for troubleshooting
- Cache optimization for better performance
📦 Installation
Method 1: Upload via WordPress Admin
- Download the plugin zip file
- Go to WordPress Admin → Plugins → Add New → Upload Plugin
- Upload the zip file and click Install Now
- Activate the plugin
Method 2: Manual Installation
- Download and extract the plugin files
- Upload the
visulogixfolder to/wp-content/plugins/ - Go to WordPress Admin → Plugins
- Find Visulogix and click Activate
Method 3: Git Clone
cd /wp-content/plugins/
git clone https://github.com/prangishviliAbe/WP-visulogix.git visulogix
🎮 Quick Start Guide
1. Basic Setup
- Ensure Elementor 3.0.0+ is installed and activated
- Activate the Visulogix plugin
- Go to Visulogix → Settings to configure options
2. Using Visual Logic
- Edit any page with Elementor
- Click on any element (widget, section, column, container)
- Go to Advanced tab
- Look for "🎯 Visual Logic" section
- Enable Visual Logic and set your conditions
3. Quick Page/Post Selection
- Use 📄 Quick Page Select for simple page-based conditions
- Use 📝 Quick Post Select for post-specific visibility
- Use 🏷️ Quick Category Select for category-based logic
4. Advanced Conditions
- Click ⚙️ Advanced Conditions for complex logic
- Add multiple conditions with AND/OR operators
- Combine different condition types for precise control
🎨 Content Browser Usage
Access the Browser
- Go to WordPress Admin → Visulogix
- Click "Content Browser 🔍" to expand
- Load content by type: Posts, Pages, Categories
Browser Features
- 📋 Visual thumbnails for easy identification
- ⭐ Bookmark items for quick access later
- ✓ Select multiple items for bulk condition setup
- 🔍 Search functionality with real-time filtering
- 📊 Status indicators (Published, Draft, Private)
Automatic Installation
- Upload the
visulogixfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Ensure Elementor is installed and activated
Manual Installation
- Download the plugin ZIP file
- Go to WordPress Admin → Plugins → Add New → Upload Plugin
- Choose the ZIP file and click "Install Now"
- Activate the plugin
Quick Start Guide
1. Enable Visual Logic on an Element
- Edit any page with Elementor
- Select a widget, section, or column
- Go to the Advanced tab
- Find the Visual Logic section
- Toggle "Enable Visual Logic" to ON
2. Add Your First Condition
- Click Add Item in the Conditions field
- Choose a Condition Type (e.g., "Device Type")
- Select an Operator (e.g., "Equals")
- Enter a Value (e.g., "mobile")
- Update the page
3. Test Your Conditions
- In the Elementor editor, click the Test Conditions button
- View the results in real-time
- Adjust conditions as needed
Condition Types Reference
Page Conditions
// Show only on specific pages
Condition Type: Page ID
Operator: Equals
Value: 1,5,10 (comma-separated IDs)
// Hide on blog posts
Condition Type: Post Type
Operator: Equals
Value: post
User Conditions
// Show only to administrators
Condition Type: User Role
Operator: Equals
Value: administrator
// Hide from logged-out users
Condition Type: User Logged In
Operator: Equals
Value: yes
Device Conditions
// Show only on mobile devices
Condition Type: Device Type
Operator: Equals
Value: mobile
// Hide on Internet Explorer
Condition Type: Browser
Operator: Equals
Value: ie
Date & Time Conditions
// Show during business hours
Condition Type: Time Range
Operator: Between
Value: 09:00
Compare Value: 17:00
// Show only on weekends
Condition Type: Day of Week
Operator: Equals
Value: 0,6 (Sunday, Saturday)
WooCommerce Conditions
// Show when cart total > $100
Condition Type: WooCommerce Cart Total
Operator: Greater Than
Value: 100
// Show only for specific product category
Condition Type: WooCommerce Product Category
Operator: Equals
Value: electronics
Custom Conditions
// Show when URL parameter exists
Condition Type: URL Parameter
Operator: Exists
Value: utm_source
// Show based on custom field
Condition Type: Custom Field
Operator: Equals
Value: featured_product
Compare Value: yes
Advanced Usage
Logic Operators
AND Logic (default): All conditions must be true
// Show only to mobile users who are logged in
Condition 1: Device Type equals mobile
Condition 2: User Logged In equals yes
Logic: AND
OR Logic: Any condition can be true
// Show to admins OR editors
Condition 1: User Role equals administrator
Condition 2: User Role equals editor
Logic: OR
Animation Settings
Control how elements appear and disappear:
- None: Instant show/hide
- Fade: Smooth opacity transition
- Slide Up: Element slides up from below
- Slide Down: Element slides down from above
- Slide Left: Element slides in from the right
- Slide Right: Element slides in from the left
Performance Optimization
- Caching: Condition results are cached to improve performance
- Lazy Loading: Conditions are evaluated only when needed
- Efficient Queries: Optimized database queries for large sites
Developer Documentation
Custom Conditions
Add your own condition types:
add_filter('visulogix_condition_types', function($types) {
$types['weather'] = 'Weather Conditions';
return $types;
});
add_filter('visulogix_evaluate_custom_condition', function($result, $condition, $context) {
if ($condition['type'] === 'weather') {
// Your custom logic here
return weather_api_check($condition['value']);
}
return $result;
}, 10, 3);
Hooks and Filters
Actions:
visulogix_before_condition_check- Before evaluating conditionsvisulogix_after_condition_check- After evaluating conditionsvisulogix_element_hidden- When an element is hiddenvisulogix_element_shown- When an element is shown
Filters:
visulogix_condition_types- Add custom condition typesvisulogix_evaluate_custom_condition- Add custom condition logicvisulogix_animation_speed- Modify animation speedvisulogix_cache_duration- Modify cache duration
REST API Endpoints
// Test conditions
POST /wp-json/visulogix/v1/test-conditions
{
"conditions": [...],
"logic": "AND"
}
// Get condition statistics
GET /wp-json/visulogix/v1/stats
// Export conditions
GET /wp-json/visulogix/v1/export
// Import conditions
POST /wp-json/visulogix/v1/import
Troubleshooting
Common Issues
Elements not hiding/showing:
- Check that Visual Logic is enabled
- Verify conditions are properly configured
- Enable Debug Mode to see console logs
- Clear any caching plugins
Performance issues:
- Enable condition caching
- Reduce the number of complex conditions
- Use server-side conditions when possible
Animation not working:
- Check for CSS conflicts
- Verify animation speed setting
- Test with different animation types
Debug Mode
Enable debug mode for detailed logging:
- Go to Visulogix → Settings
- Check "Enable Debug Mode"
- Open browser console to see condition evaluation logs
Cache Issues
Clear cache after making changes:
- Clear WordPress cache
- Clear Elementor cache
- Clear browser cache
- Purge CDN cache if applicable
🔧 Configuration Options
General Settings
- Debug Mode: Enable console logging for troubleshooting
- Cache Conditions: Improve performance with result caching
- Frontend Scripts: Control script loading behavior
- Animation Speed: Customize transition timing (0-2000ms)
Advanced Options
- Import/Export: Backup and restore condition configurations
- Conditions Manager: Monitor and manage active conditions
- Performance Settings: Optimize for your specific needs
🎯 Condition Types Reference
| Condition Type | Description | Example Use Cases |
|---|---|---|
| Page | Show/hide on specific pages | Landing page exclusives, page-specific CTAs |
| Post | Target individual posts | Author bio on specific articles |
| Category | Category-based visibility | Category-specific sidebars, related content |
| User Role | Role-based content | Admin-only elements, subscriber content |
| Device Type | Responsive conditions | Mobile-only buttons, desktop layouts |
| Date Range | Time-based display | Seasonal content, limited-time offers |
| Custom Fields | Meta-based logic | Product-specific features, custom data |
🔍 Troubleshooting
Common Issues
Visual Logic section not showing?
- Verify Elementor version (3.0.0+ required)
- Clear cache and regenerate Elementor CSS
- Deactivate/reactivate Visulogix plugin
Conditions not working?
- Enable Debug Mode in Visulogix settings
- Check browser console for JavaScript errors
- Verify condition logic and operators
Content Browser not loading?
- Check WordPress AJAX functionality
- Verify user permissions
- Clear browser cache
Debug Mode
Enable debug mode in Visulogix → Settings to get detailed console logs for:
- Condition evaluation processes
- AJAX request/response data
- Performance timing information
- Error tracking and reporting
🛠️ Development
File Structure
visulogix/
├── assets/
│ ├── css/
│ │ ├── admin.css
│ │ └── frontend.css
│ ├── js/
│ │ ├── admin.js
│ │ ├── editor.js
│ │ └── frontend.js
│ └── cover.png
├── includes/
│ ├── class-admin.php
│ ├── class-conditions.php
│ ├── class-elementor-integration.php
│ ├── class-frontend.php
│ └── class-logic-engine.php
├── languages/
│ └── visulogix.pot
├── visulogix.php
├── uninstall.php
└── README.md
📝 Changelog
Version 1.0.1
- Bug Fix: Removed duplicate
add_admin_menu()method causing fatal error - Stability: Plugin now activates without PHP errors
- Compatibility: Improved plugin activation reliability
Version 1.0.0
- Initial release
- Visual content browser with thumbnails and bookmarking
- Comprehensive conditional logic system
- Universal Elementor element support
- Advanced condition types and operators
- Smooth animations and transitions
- Import/export functionality
- Debug mode and performance optimization
📄 License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
👨💻 Author
Abe Prangishvili
- GitHub: @prangishviliAbe
- Plugin Repository: WP-visulogix
🤝 Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
🎉 Support
If you find this plugin helpful, please:
- ⭐ Star the repository
- 🐛 Report bugs via GitHub Issues
- 💡 Suggest features via GitHub Discussions
- 📖 Contribute to documentation
Transform your Elementor experience with intelligent, condition-based content display. Make every element count with Visulogix! 🚀