Moonshine-IDE / Royale-Wordpress-Plugin

Include Royale pages in a Wordpress Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Royale Apps

Stable tag: 1.0.0
Requires at least: Wordpress 5.0
Tested up to: Wordpress 5.7.2
Requires PHP: 7.0
License: GNU General Public License v2.0 Tags: custom scripts, custom shortcodes
Contributors: Michał Szczepanowski, Michał Hawryluk, Piotr Zarzycki, Joel Anderson

Include Apache Royale® pages in a Wordpress Website.

Description

Royale Apps plugin allows include your Apache Royale application to wordpress website.

How to Install

  • Download the code from GitHub as .zip file.
  • Go to your Wordpress site dashboard and upload the .zip file through the "Plugins" menu.
  • Alternatively, you can unzip the plugin into the "/wp-content/plugins/" directory.

How to Use

Requirements for Your Custom Script

  • All of your script's files should be compressed together into a single .zip file.
  • The script's files can be wrapped into a directory before compressing into the .zip file.
  • Your custom script must have an index.html file in base directory or first nested directory.
  • You can add also assets (.js, .css files, images) which would be used in the index.html file. You should link them with relative paths.

Uploading and Managing Your Custom Scripts

  1. Visit the Apache Royale® Apps menu in WordPress.
  2. You can use the Upload a new script submenu to upload a .zip file with your custom script.
  3. In the List of scripts submenu you can see all the custom scripts that you have already uploaded. You can also see shortcodes which you can insert into your posts and pages.
  4. You can also delete the scripts in the List of scripts submenu.

Using Your Custom Scripts in Your Posts and Pages

Copy the shortcode for the desired script from the List of scripts submenu. Insert it into the content of your post or page. Your script will be rendered in your post/page, wrapped in an iframe.

About

Include Royale pages in a Wordpress Website

License:GNU General Public License v2.0


Languages

Language:PHP 93.6%Language:JavaScript 4.3%Language:CSS 2.1%