Can anyone explain me that part in JSON please ?? (Wordpress Plugin)

0

Hello, I'm going to detail the maximum of my doubt to see if anyone can understand me and help me ... I have the following Plugin installed on Wordpress: link

This Plugin creates this part in the Wordpress Cpanel:

Andthispartcreatesthesethreebuttonsinthefrontend:

ButhowdoIeditthesebuttons?ForexampleifIwanttoaddaCSSinthemorcustomizewithmorethingsinHTML,howdoI??

IfItrytoaddanyHTML/CSS/JAVASCRIPTcodeinthebackendofthefirstimageupthepanelsimplydoesnotallow,inthecaseIwouldhavetodoinJSON??ButIdonotunderstandanythingaboutJSON,soIneedsomehelp.

Hereisashortvideowithmoredetails(thevideohasaudioitstartsin27seconds): link

    
asked by anonymous 06.03.2018 / 14:21

1 answer

0

This field you edited is not for HTML, it's the initial DataTable config, included in the code using CDN, as repository code

For customization, the plugin offers the possibility to add classes, as in this example with shortcode

[gdoc key="ABCDEFG" class="my-sheet" title="Tooltip text displayed on hover" summary="An example spreadsheet, with a summary."]This is the table's caption.[/gdoc]

See that the my-sheet class has been included, that you can put whatever you want and use it to stylize, as it will generate the html as

<table id="igsv-ABCDEFG" class="igsv-table my-sheet" title="Tooltip text displayed on hover" summary="An example spreadsheet, with a summary.">
    <caption>This is the table's caption.</caption>
    <!-- ...rest of table code using spreadsheet data here... -->
</table>

With this you create a rules in your css, for example:

.my-sheet{
    background-color: red;
}
    
07.03.2018 / 17:18