=== Hakan Live Content Editor ===
Contributors: hakansalih
Donate link: https://www.hakansalih.com.tr
Tags: content editor, live editor, page editor, inline editor, frontend editor
Requires at least: 5.0
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Safely edit your WordPress pages and content modules live on the front-end without breaking your site's CSS design or layout.

== Description ==

**Hakan Live Content Editor** allows site owners, web agencies, and clients to edit WordPress page content and custom content modules live in real-time.

The plugin isolates content editing to ensure your theme's native CSS styling, fonts, and layout structures remain intact during edits.

### Key Features:

* **Live Content Editing:** Edit text and images directly on your live site layout without affecting CSS styling.
* **Safe Layout Protection:** Helps maintain your theme design, spacing, and styling during content updates.
* **Content Modules:** Create reusable content modules via shortcodes `[gorsel_modul id="123"]` or PHP function `hakan_live_content_editor_gorsel_modul_goster('module-slug')`.
* **Code & Visual Mode Toggle:** Easily switch between live preview mode and clean HTML code mode for advanced tweaks.
* **Media Library Integration:** Built-in WordPress Media Modal for easy image selection and replacement.
* **Full Screen Mode:** Edit without distraction in a clean, responsive workspace.
* **SVG Upload Support:** Native support for uploading SVG vector graphics.
* **i18n Ready:** Full Gettext internationalization support with English and Turkish translations included.

== Installation ==

1. Upload the `hakan-live-content-editor` folder to the `/wp-content/plugins/` directory, or install directly via the WordPress Plugins menu.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Select "Live Canlı İçerik Editörü" as your page template in Page Attributes, or go to **Hakan Live Content Editor** in your admin menu to start editing!

== Frequently Asked Questions ==

= Does this plugin alter my theme's CSS files? =
No! The plugin only updates text and content stored in WordPress options, ensuring your theme CSS remain untouched.

= Can non-admin users edit content? =
Only users with administrator privileges (`manage_options`) can access the live editor.

= How do I use Content Modules in my theme? =
You can insert modules using the PHP function `<?php hakan_live_content_editor_gorsel_modul_goster('your-module-slug'); ?>` or using shortcode `[gorsel_modul slug="your-module-slug"]`.

== Screenshots ==

1. Clean live editing workspace with custom tooltips and page selector.
2. HTML code editing mode for advanced users.
3. Content Modules integration code modal.
4. Live image replacement and media modal integration.
5. Responsive live editing experience with instant preview.

== Changelog ==

= 1.0.0 =
* Initial public release. Full live editing, content modules CPT, i18n support, and SVG upload enablement.
