New SVG Icons

Beschrijving

โœจ New SVG Icons is a comprehensive WordPress plugin that revolutionizes how you manage and display SVG icons on your website. Built with security, performance, and user experience in mind, this plugin offers multiple ways to add icons and powerful customization options.

๐Ÿš€ Why Choose New SVG Icons?
* ๐Ÿ”’ Security First: All SVG code is automatically sanitized to prevent XSS attacks
* ๐ŸŽฏ Multiple Input Methods: Upload files, paste code, or scan folders
* ๐ŸŽจ Built-in Editor: Live SVG editor with real-time preview
* ๐Ÿ“ Smart Organization: Categorize icons for easy management
* โšก Performance Optimized: Lightweight and fast loading
* ๐Ÿ› ๏ธ Developer Friendly: Extensive shortcode parameters and filters

๐ŸŒŸ Key Features:

๐Ÿ“ค Multiple Upload Methods
* ๐Ÿ“ File Upload: Drag & drop multiple SVG files at once
* ๐Ÿ“ Code Paste: Direct SVG code input with live preview
* ๐Ÿ” Folder Scanner: Batch import from wp-content/svg-icons/ directory
* ๐Ÿ“š Built-in Library: Pre-installed icon collection

๐ŸŽจ Advanced SVG Editor
* ๐Ÿ–ผ๏ธ Live Preview: See changes in real-time as you edit
* ๐ŸŽ›๏ธ Attribute Editor: Modify colors, dimensions, and properties
* ๐Ÿ”ง Dimension Controls: Resize with locked aspect ratio
* ๐ŸŒˆ Background Toggle: Test icons on different backgrounds
* ๐Ÿ“ Preview Sizing: Adjustable preview scale (50%-200%)

๐Ÿท๏ธ Smart Organization
* ๐Ÿ“‚ Categories: Built-in categories (Social, UI, Business, Arrows, Logos, Shapes)
* ๐Ÿท๏ธ Custom Categories: Create your own organization system
* ๐Ÿ” Search & Filter: Quickly find icons by name or category
* ๐Ÿ“Š Icon Counter: Track your library size

โšก Powerful Shortcode System
Use [svg_icon name="icon-name"] with these amazing parameters:
* ๐Ÿ“ size="24" – Set custom dimensions
* ๐ŸŽจ color="#ff0000" – Change icon color
* ๐ŸŽฏ class="my-class" – Add CSS classes
* ๐Ÿ› debug="true" – Debug mode for troubleshooting

๐Ÿ”’ Enterprise-Level Security
* ๐Ÿ›ก๏ธ SVG Sanitization: Removes potentially harmful code
* ๐Ÿ” Nonce Protection: CSRF protection on all actions
* ๐Ÿ‘ค Permission Checks: Admin-only access controls
* ๐Ÿ—ƒ๏ธ Database Security: Prepared SQL statements

๐ŸŽ Bonus Features
* ๐Ÿ“‹ One-Click Copy: Copy shortcodes and SVG code instantly
* ๐ŸŒ Resource Library: Curated list of free SVG icon sources
* ๐Ÿ“– Usage Guide: Built-in help and tutorials
* ๐ŸŽฏ Quick Tools: Links to online SVG editors and optimizers

๐ŸŒŸ Live Demo | ๐Ÿ“– Documentation & Downloads | ๐Ÿ’ฌ Support

Support & Contributing

๐Ÿ’ Love this plugin?
* โญ Leave a 5-star review
* ๐Ÿ› Report bugs
* ๐Ÿ’ก Suggest features
* ๐Ÿค Contribute on GitHub

๐Ÿš€ Keep building amazing things! ๐ŸŽจโœจ

Installatie

๐Ÿš€ Quick Installation:

  1. ๐Ÿ“ฅ Auto Install: Search “New SVG Icons” in WordPress admin Plugins Add New
  2. ๐Ÿ”Œ Activate: Click “Activate” after installation
  3. ๐ŸŽจ Start Creating: Go to “New SVG Icons” in your admin menu

๐Ÿ“ Manual Installation:
1. ๐Ÿ’พ Download the latest plugin zip file from WP-Zip.com
2. ๐Ÿ“ค Upload to /wp-content/plugins/new-svg-icons directory
3. โœ… Activate through the ‘Plugins’ menu
4. ๐ŸŽฏ Navigate to ‘New SVG Icons’ in admin menu

๐ŸŽ‰ First Steps:
1. ๐Ÿ  Visit the “Icon Library” tab to see pre-installed icons
2. ๐Ÿ“ค Try uploading your first SVG in the “Upload SVG” tab
3. ๐Ÿ“ Test the live editor in “Paste SVG Code” tab
4. ๐Ÿ” Use [svg_icon name="heart"] in any post or page

FAQ

๐Ÿค” How do I add a new icon?

You have 4 amazing ways:
* ๐Ÿ“ค Upload Tab: Select SVG files from your computer
* ๐Ÿ“ Code Tab: Paste SVG code with live preview
* ๐Ÿ“ Folder Scanner: Place files in wp-content/svg-icons/ and scan
* ๐Ÿ“š Built-in Library: Use pre-installed icons immediately

๐ŸŽฏ How do I display an icon?

Use the shortcode: [svg_icon name="your_icon_name"]

Advanced Examples:
* [svg_icon name="heart" size="32" color="#ff0000"]
* [svg_icon name="arrow" class="my-custom-class"]
* [svg_icon name="logo" size="48" color="#2271b1"]

๐Ÿ”’ Is it safe to upload SVG files?

Absolutely! ๐Ÿ›ก๏ธ Every SVG is automatically sanitized to remove:
* ๐Ÿšซ JavaScript code
* ๐Ÿšซ External links
* ๐Ÿšซ Potentially harmful elements
* ๐Ÿšซ XSS vulnerabilities

๐ŸŽจ Can I edit SVG icons after uploading?

Yes! The built-in live editor lets you:
* ๐ŸŒˆ Change colors in real-time
* ๐Ÿ“ Adjust dimensions
* ๐Ÿ‘€ Preview changes instantly
* ๐Ÿ”ง Modify SVG attributes

๐Ÿ“ Where are my SVG files stored?

  • ๐Ÿ—ƒ๏ธ Database: SVG code is stored in WordPress database
  • ๐Ÿ“‚ Files: Physical files in wp-content/svg-icons/ folder
  • ๐Ÿ” Security: Protected with .htaccess rules

๐Ÿ” How do I organize my icons?

  • ๐Ÿ“‚ Use built-in categories (Social, UI, Business, etc.)
  • ๐Ÿท๏ธ Create custom categories
  • ๐Ÿ” Search by name or filter by category
  • ๐Ÿ“Š View icon count per category

โšก Will this slow down my website?

No way! ๐Ÿš€ The plugin is optimized for performance:
* ๐Ÿ’พ Minimal database queries
* ๐Ÿ“ฆ Lightweight code
* โšก Fast SVG rendering
* ๐ŸŽฏ Only loads when needed

๐Ÿ†˜ I need help! Where can I get support?

We’ve got you covered! ๐Ÿค
* ๐Ÿ’ฌ WordPress Support Forum
* ๐Ÿ“– Complete Documentation & Downloads
* ๐Ÿ“– Built-in help in the “Resources” tab
* ๐ŸŒŸ Check the live preview and examples
* ๐Ÿ› Use debug="true" in shortcodes for troubleshooting

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“New SVG Icons” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “New SVG Icons” naar jouw taal.

Interesse in de ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

๐ŸŽ‰ 2.0.0 – Major Enhancement Release

๐Ÿ†• New Features:
* ๐ŸŽจ Live SVG Editor with real-time preview
* ๐Ÿ“ค Multi-file Upload with drag & drop support
* ๐Ÿ” Folder Scanner for batch importing
* ๐Ÿ“š Built-in Icon Library with popular icons
* ๐ŸŒ Free Resources Tab with curated icon sources
* ๐Ÿ“‹ One-click Copy for shortcodes and SVG code
* ๐ŸŽ›๏ธ Advanced Attribute Editor for SVG properties
* ๐ŸŒˆ Background Toggle for better preview testing
* ๐Ÿ“ Dimension Controls with aspect ratio locking

๐Ÿ”ง Improvements:
* ๐Ÿ›ก๏ธ Enhanced Security with better SVG sanitization
* ๐ŸŽฏ Better UI/UX with tabbed interface
* โšก Performance Optimizations
* ๐Ÿ“Š Category Management with custom categories
* ๐Ÿ” Search & Filter functionality
* ๐Ÿ“ฑ Responsive Design for mobile admin
* ๐ŸŽจ CSS Improvements with modern styling

๐Ÿ› Bug Fixes:
* โœ… Fixed SVG namespace issues
* โœ… Improved file type validation
* โœ… Better error handling
* โœ… Enhanced compatibility

๐Ÿš€ 1.0.0 – Initial Release

  • ๐ŸŽฏ Basic SVG upload and shortcode functionality
  • ๐Ÿ”’ Initial security implementation
  • ๐Ÿ“ Simple admin interface