EPFL Diploma Verification
WordPress Shortcode to verify the diploma student number
by Rosa Maggi · github.com/epfl-si/wp-plugin-epfl-diploma-verification
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/epfl-si/wp-plugin-epfl-diploma-verification/archive/refs/heads/main.zipepfl-diploma-verification is a WordPress plugin used to verify a student diploma. This plugin calls an IS-Academia API by passing the first name, surname and diploma number of the student to verify it. PHP is the main languages used to code the plugin.
Get epfl-diploma-verification
To get the plugin :
- Download wp-dev that you will find at the following url: https://github.com/epfl-si/wp-dev ;
- Find the epfl-diploma-verification EPFL plugin at the following path: wp-dev\volumes\wp\6.1.3\wp-content\plugins\epfl-diploma-verification ;
- Import epfl-diploma-verification in your favorite IDE ;
- ✅
Required environment
To access to the IS-Academia API, we need to add the kubernet cluster IP address to the authorized hosts.
epfl-diploma-verification file organization
The files of the plugin are organised as below:
epfl-diploma-verification.php : Contains the call to the ISA web service and the html code to display according to the call result.
_diploma-verificationform.php : This file contains the form to be displayed to get student information (first name, surname and diploma number).