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.
- 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
- 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)
- 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
- Multiple animation types: Fade, slide (up/down/left/right)
- Customizable timing and speed controls
- Performance optimized with CSS3 transitions
- Conditions manager with overview dashboard
- Import/Export functionality for easy migration
- Debug mode for troubleshooting
- Cache optimization for better performance
- 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
- Download and extract the plugin files
- Upload the
visulogix
folder to/wp-content/plugins/
- Go to WordPress Admin → Plugins
- Find Visulogix and click Activate
cd /wp-content/plugins/
git clone https://github.com/prangishviliAbe/WP-visulogix.git visulogix
- Ensure Elementor 3.0.0+ is installed and activated
- Activate the Visulogix plugin
- Go to Visulogix → Settings to configure options
- 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
- 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
- Click ⚙️ Advanced Conditions for complex logic
- Add multiple conditions with AND/OR operators
- Combine different condition types for precise control
- Go to WordPress Admin → Visulogix
- Click "Content Browser 🔍" to expand
- Load content by type: Posts, Pages, Categories
- 📋 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)
- Upload the
visulogix
folder to/wp-content/plugins/
- Activate the plugin through the 'Plugins' menu in WordPress
- Ensure Elementor is installed and activated
- 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
- 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
- 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
- In the Elementor editor, click the Test Conditions button
- View the results in real-time
- Adjust conditions as needed
// 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
// 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
// Show only on mobile devices
Condition Type: Device Type
Operator: Equals
Value: mobile
// Hide on Internet Explorer
Condition Type: Browser
Operator: Equals
Value: ie
// 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)
// 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
// 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
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
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
- Caching: Condition results are cached to improve performance
- Lazy Loading: Conditions are evaluated only when needed
- Efficient Queries: Optimized database queries for large sites
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);
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
// 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
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
Enable debug mode for detailed logging:
- Go to Visulogix → Settings
- Check "Enable Debug Mode"
- Open browser console to see condition evaluation logs
Clear cache after making changes:
- Clear WordPress cache
- Clear Elementor cache
- Clear browser cache
- Purge CDN cache if applicable
- 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)
- Import/Export: Backup and restore condition configurations
- Conditions Manager: Monitor and manage active conditions
- Performance Settings: Optimize for your specific needs
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 |
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
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
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
- Bug Fix: Removed duplicate
add_admin_menu()
method causing fatal error - Stability: Plugin now activates without PHP errors
- Compatibility: Improved plugin activation reliability
- 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
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
Abe Prangishvili
- GitHub: @prangishviliAbe
- Plugin Repository: WP-visulogix
- 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
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! 🚀