The JGU Plotly plugin provides a WordPress shortcode for
displaying your Plotly Data in your WordPress Page.
[jgu-plotly url="https://domain/path-to-json-file"]
If your Shortcode is still visible on the published page, activate this plugin in the Dashboard → JGU Tools → Plugins
Warning: ⚠️ Be careful to edit the Shortcode in the Text mode only. Editing in the Visual mode may cause the shortcode to fail entirely due to HTML Tags in the Code.
Some plugins require administrative preparations (JGU Auth, JGU Downloadcenter). Follow the instructions in Dashboard → JGU Tools → Plugins → Activate
and we will set up the plugin for you.
Basic shortcode parameters
url
Input for the Plugin is a json file specified in the url
The Parameter is: Mandatory
Example for n...
[jgu-plotly url="https://yourdomain.de/path/to/yourjsonfile"]
name
Names the data, necessary if more than one plotly chart has to be shown on one page
- Values: a name without spaces, you may invent the name, it is needed to identify the graph
- The Parameter is: Mandatory
[jgu-plotly name="nameofthegraph"]
Code-Examples, please copy
[jgu-plotly url="https://gitlab.rlp.net/statistics.json" name="totallyinvented"]
Live-Example
Try our Demo → JGU Plotly