Code Playgrounds




=== WP Code Playground ===
Tags: code editor, playground, HTML, CSS, JavaScript
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 7.2
Stable tag: 1.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create and manage multiple HTML/CSS/JavaScript playgrounds, and render them on any page or post using a shortcode.

== Description ==

WP Code Playground is a WordPress plugin that allows you to create, edit, and display interactive code playgrounds for HTML, CSS, and JavaScript. These playgrounds can be easily rendered on any page or post using a shortcode.

**Features:**
* Create and manage multiple code playgrounds from the admin dashboard.
* Display a playground on any page or post with a shortcode like `code_playground id=”1″`.
* Real-time code execution for HTML, CSS, and JavaScript.
* User-friendly interface with separate areas for HTML, CSS, and JavaScript.
* Responsive and clean design, optimized for all devices.

Use WP Code Playground to showcase live code examples, interactive tutorials, or just as a handy tool to experiment with web development.

== Installation ==

1. Upload the `wp-code-playground` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Go to “Code Playgrounds” in the WordPress admin menu to start creating your playgrounds.
4. Use the shortcode `code_playground id=”1″` (replace `1` with the playground ID) to display a playground on any page or post.

== Frequently Asked Questions ==

= How do I add a playground to my page? =
Use the shortcode `code_playground id=”1″`, replacing `1` with the ID of the playground you’d like to display.

= Why is my playground preview not showing? =
Ensure that JavaScript is enabled in your browser and there are no syntax errors in your JavaScript code. Check the browser console for error messages.

= Can I edit or delete playgrounds? =
Yes, you can edit or delete playgrounds from the “Code Playgrounds” admin page.

= Does this plugin support responsive design? =
Yes, WP Code Playground is fully responsive and works on all devices.

== Screenshots ==

1. Admin dashboard for managing code playgrounds.
2. Edit code playground form.
3. Playground displayed on the frontend with live preview functionality.

== Changelog ==

= 1.5 =
* Fixed iframe viewport issues.
* Enhanced layout and styling for the code editor.
* Added better error handling for JavaScript execution.

= 1.4 =
* Added support for responsive design.
* Improved UI/UX for the admin dashboard.

= 1.3 =
* Added real-time preview for code execution.
* Enhanced shortcode functionality.

= 1.2 =
* Improved database structure for storing playgrounds.
* Added category support for playgrounds.

= 1.0 =
* Initial release of the plugin.

== Upgrade Notice ==

= 1.5 =
This update fixes viewport issues and enhances the code execution preview. Upgrade for a better user experience.

== License ==

This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this plugin. If not, see https://www.gnu.org/licenses/gpl-2.0.html.

AZ Managed
IT Services llc

Contact us today to request a consultation and discover how our expert solutions can help your business thrive.