I'm getting data from an API with the plugin WPgetApi (https://wpgetapi.com) it gives me the results as shortcodes with return a numeric value. Is there anyway to put that Shortcodes inside the cells input?? The shorcode stuff from settings doesn't work. Any help?? Best regards
Did you try to use the Parse shortcodes setting in the main plugin settings here?
If you already tried this, but it won't work to return the data from the API;
If that API returns the JSON format that wpDataTables can read (a one-level array of same-structured objects where each object will be parsed as a row, and each field inside of the object as a cell), you can create tables from a JSON input.
If it doesn't return the format wpDataTables can read, you'll need to prepare a PHP Adapter that will return the data in the correct format, and create tables linked to a Serialized PHP array.
Hi there, I'll try to explain myself:
I'm getting data from an API with the plugin WPgetApi (https://wpgetapi.com) it gives me the results as shortcodes with return a numeric value. Is there anyway to put that Shortcodes inside the cells input?? The shorcode stuff from settings doesn't work. Any help?? Best regards
Hi, Jose
Thanks for reaching out to us
Did you try to use the Parse shortcodes setting in the main plugin settings here?
If you already tried this, but it won't work to return the data from the API;
If that API returns the JSON format that wpDataTables can read (a one-level array of same-structured objects where each object will be parsed as a row, and each field inside of the object as a cell), you can create tables from a JSON input.
If it doesn't return the format wpDataTables can read, you'll need to prepare a PHP Adapter that will return the data in the correct format, and create tables linked to a Serialized PHP array.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables