Hi Li-An,
Sorry for the late, I was in vacation.
“compatible up to” is already available with the “tested” field:
[wp-pic type=”plugin” slug=”wp-plugin-info-card” custom=”tested” ]
You’re right for the date format. It is displayed with the default API format (so english) because the custom shortcode only retrieve data from the API and display them without any treatment.
If you want to modify it, I suggest you to create a custom template as explained within the documentation.
Regards,
Thread Starter
Li-An
(@li-an)
Thanks for your answer – and I have to change all my shortcodes 🙂 Is “tested” shown in documentation ? I did not find it.
Are you sure it works. I tried [wp-pic slug=”client-portal” align=”center” layout=”large” custom=”tested”] and nothing is showing.
-
This reply was modified 9 years, 9 months ago by
Li-An.
Hi Li-An,
Sorry for the late, this is a really busy time, and I totaly forget to answer you.
You’re right, the “tested” option isn’t documented yet since I’ve introduce some new data from the API and didn’t take the time to write about it.
By the way, you can inspect wp-plugin-info-card-add-plugin.php file from line 38 to see which fields are available.
Finally, to see only the “tested” value, you have to use the following shortcode.
[wp-pic slug="client-portal" align="center" layout="custom" custom="tested"]
Best,
Thread Starter
Li-An
(@li-an)
So it’s not possible to show the “tested” on large layout ?
Yes it is.
Here is a quote of the plugin description page:
You can easily overload the plugin rendering. You need to create a new “wppic-templates” folder into your theme folder, then copy the template you want to overload from the WP Plugin Info Card “wppic-templates” folder.
Once you have your template in your theme folder (copy the large one from the plugin folder), you can add/change what you whant.
Best,
Thread Starter
Li-An
(@li-an)
Thanks. I did not notice the template thing. I will take a look at it.