Convert text to CSS
A WordPress plugin to accept natural text as Prompt and convert it to clean CSS.
by Subrata Sarkar · github.com/emfluenceindia/convert-text-to-css · website
★ 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/emfluenceindia/convert-text-to-css/archive/refs/heads/main.zipAI Prompt to CSS
Transform natural language prompts into production‑ready CSS styles directly inside WordPress. This plugin leverages AI to convert human‑readable instructions (e.g., “Make the anchor text red with a smooth underline on hover”) into valid CSS rules that are automatically injected into your theme.
✨ Features
- 🧠 AI‑powered CSS generation: Write prompts in plain English, get CSS instantly.
- 🎨 Customizer integration: Generated CSS is stored in WordPress's Cusotm CSS.
- 🔒 Safe injection: Uses WordPress APIs (
wp_get_custom_css,wp_update_custom_css_post) to ensure compatibility. - 🗂 Marker‑based management: Each AI‑generated block is wrapped with identifiable markers for easy updates/removal.
- ⚡ Prompt history: Keeps track of prompts used for CSS generation.
- 🌍 Multilingual ready: Supports translation via
Text Domain.
📦 Installation
- Download or clone this repository:
git clone https://github.com/emfluenceindia/convert-text-to-css.git