WP Manifestindependent plugin directory
manifest / integrations / wp-plugin-epfl-partner-universities

EPFL Partner Universities

WordPress Shortcode to show all partner universities

by Rosa Maggi (Renato Kempter (renato.kempter@gmail.com) 2013 - Tim Brigginshaw EPFL (tim.brigginshaw@epfl.ch) 2018) · github.com/epfl-si/wp-plugin-epfl-partner-universities

0stars
0forks

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-partner-universities/archive/refs/heads/main.zip

WordPress Shortcodes to show all partner universities for IN and OUT exchange.

epfl-partner-universities is a WordPress plugin used to show all partner universities for IN and OUT exchange. This plugin calls an IS-Academia API to get the list of partners. PHP and javascript are the main languages used to code the plugin.

Get epfl-partner-universities

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-partner-universities EPFL plugin at the following path: wp-dev\volumes\wp\6.1.3\wp-content\plugins\epfl-partner-universities ;
  • Import epfl-partner-universities 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-partner-universities file organization

The files of the plugin are organised as below:

epfl-partner-universities.php : Contains the call to the ISA web service and the html code to display according to the call result for the IN Exchange.

_epfl-partner-universitiesmap.php : Contains the call to the ISA web service and the html code to display according to the call result for the OUT Exchange.

partner-universities-traductions.php : Utility class for traslantions.

partner-universities-utils.php : Utility class for all common methods.

How to use shortcode

[epfl_partner_universities language='FR/EN' exchange='IN/OUT']

Makefile

If you add a new string to translate with _e(keyName, domainName), you can do make pot to add it on the /languages/epfl_partner_universities.pot and /languages/*.po files where you can translate it.

Pages where it's used