{"id":30057,"date":"2014-06-17T08:03:30","date_gmt":"2014-06-17T08:03:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/hal\/"},"modified":"2026-02-11T09:14:20","modified_gmt":"2026-02-11T09:14:20","slug":"hal","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/hal\/","author":13856683,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.7.1","stable_tag":"2.7.1","tested":"6.9.4","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"HAL","header_author":"CCSD","header_description":"","assets_banners_color":"210a0a","last_updated":"2026-02-11 09:14:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.ccsd.cnrs.fr","header_author_uri":"http:\/\/www.ccsd.cnrs.fr","rating":3.5,"author_block_rating":0,"active_installs":500,"downloads":14035,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Friz","date":"2015-09-07 08:48:04"},"1.1":{"tag":"1.1","author":"Friz","date":"2016-01-15 12:18:16"},"1.2":{"tag":"1.2","author":"Friz","date":"2016-01-21 12:49:26"},"1.3":{"tag":"1.3","author":"Friz","date":"2016-02-09 10:45:43"},"1.4":{"tag":"1.4","author":"Friz","date":"2016-02-18 09:24:34"},"1.4.2":{"tag":"1.4.2","author":"Friz","date":"2016-03-16 10:21:31"},"1.4.3":{"tag":"1.4.3","author":"Friz","date":"2016-03-18 11:01:26"},"1.4.4":{"tag":"1.4.4","author":"Friz","date":"2016-07-28 09:16:54"},"2.0":{"tag":"2.0","author":"Friz","date":"2016-07-28 09:16:54"},"2.0.1":{"tag":"2.0.1","author":"Friz","date":"2016-12-07 13:40:07"},"2.0.10":{"tag":"2.0.10","author":"ccsd","date":"2020-12-01 15:28:17"},"2.0.2":{"tag":"2.0.2","author":"Friz","date":"2018-09-28 07:12:28"},"2.0.6":{"tag":"2.0.6","author":"Friz","date":"2019-01-11 12:50:46"},"2.0.7":{"tag":"2.0.7","author":"Friz","date":"2019-03-25 15:16:33"},"2.0.8":{"tag":"2.0.8","author":"Friz","date":"2019-04-04 09:05:01"},"2.0.9":{"tag":"2.0.9","author":"ccsd","date":"2019-12-06 15:22:06"},"2.1.0":{"tag":"2.1.0","author":"ccsd","date":"2020-12-10 14:05:44"},"2.1.1":{"tag":"2.1.1","author":"ccsd","date":"2021-10-14 12:53:47"},"2.2":{"tag":"2.2","author":"ccsd","date":"2021-10-15 10:04:34"},"2.3":{"tag":"2.3","author":"ccsd","date":"2022-07-08 12:35:45"},"2.4":{"tag":"2.4","author":"ccsd","date":"2023-02-01 10:10:17"},"2.4.1":{"tag":"2.4.1","author":"ccsd","date":"2023-02-01 10:20:03"},"2.4.2":{"tag":"2.4.2","author":"ccsd","date":"2023-03-13 14:34:02"},"2.5":{"tag":"2.5","author":"ccsd","date":"2024-09-09 12:46:07"},"2.6":{"tag":"2.6","author":"ccsd","date":"2025-06-24 13:20:30"},"2.6.1":{"tag":"2.6.1","author":"ccsd","date":"2025-12-05 10:51:42"},"2.7":{"tag":"2.7","author":"ccsd","date":"2025-12-05 10:58:22"},"2.7.1":{"tag":"2.7.1","author":"ccsd","date":"2026-02-11 09:14:20"}},"upgrade_notice":{"":"<p>Nothing for the moment...<\/p>"},"ratings":{"1":0,"2":1,"3":1,"4":1,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2695024,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2695021,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.4.2","1.4.3","1.4.4","2.0","2.0.1","2.0.10","2.0.2","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.2","2.3","2.4","2.4.1","2.4.2","2.5","2.6","2.6.1","2.7","2.7.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2879225,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1346649,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1346649,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Global parameters for retrieving publications","2":"Widget settings","3":"Example of a page using a shortcode"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[34149,208581,17538],"plugin_category":[],"plugin_contributors":[94245],"plugin_business_model":[],"class_list":["post-30057","plugin","type-plugin","status-publish","hentry","plugin_tags-hal","plugin_tags-open-archive","plugin_tags-open-science","plugin_contributors-ccsd","plugin_committers-ccsd","plugin_committers-friz"],"banners":{"banner":"https:\/\/ps.w.org\/hal\/assets\/banner-772x250.png?rev=2695021","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/hal\/assets\/icon-128x128.jpg?rev=2695024","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/hal\/assets\/screenshot-1.png?rev=2879225","caption":"Global parameters for retrieving publications"},{"src":"https:\/\/ps.w.org\/hal\/assets\/screenshot-2.png?rev=1346649","caption":"Widget settings"},{"src":"https:\/\/ps.w.org\/hal\/assets\/screenshot-3.png?rev=1346649","caption":"Example of a page using a shortcode"}],"raw_content":"<!--section=description-->\n<p>This is the first (and as of today the only) WordPress plugin for the open archive HAL.<\/p>\n\n<p>It will allow you to display on your blog publications associated with authors and other entities (structures, collections, research projects).<\/p>\n\n<p>All data is fetched from the <a href=\"https:\/\/hal.science\">HAL's website<\/a>.<\/p>\n\n<!--section=installation-->\n<h4>Requirements:<\/h4>\n\n<ul>\n<li>PHP 7.0 or higher<\/li>\n<li>WordPress 5.0 or higher<\/li>\n<li>cURL extension in php.ini<\/li>\n<\/ul>\n\n<h4>Installation\/update procedure:<\/h4>\n\n<ol>\n<li>Desactivate the plugin if you have a previous version installed.<\/li>\n<li>Unzip the archive and put all files into a specific older in the directory <strong>\/wp-content\/plugins\/<\/strong>, e.g. <strong>\/wp-content\/plugins\/hal<\/strong>.<\/li>\n<li>Activate the plugin via <strong>Appearance\/Plugins<\/strong> menu in WordPress admin panel.<\/li>\n<\/ol>\n\n<h4>Pages:<\/h4>\n\n<ol>\n<li>In WordPress admin dashboard, go to <strong>HAL<\/strong> and modify global parameters for retrieving publications on your blog page.<\/li>\n<li>Create your page and add the shortcode <strong>[cv-hal]<\/strong> to fetch data based on the criteria specified in the first step.<\/li>\n<\/ol>\n\n<p>NB: you can directly add parameters to your shortcode, e.g. <strong>[cv-hal id=2497 type=structId_i]<\/strong>.\nFor more information, please check the FAQ, our <a href=\"https:\/\/doc.hal.science\/afficher-une-liste-de-publications-dans-wordpress\">generic documentation<\/a> as well as our <a href=\"https:\/\/api.hal.science\/docs\/search\">documentation on HAL's API<\/a>.<\/p>\n\n<h4>Widget:<\/h4>\n\n<p>In WordPress admin dashboard, go to <strong>Appearance\/Plugins<\/strong> to configure the widget.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20can%20i%20contact%20the%20support%20team%3F\"><h3>How can I contact the support team?<\/h3><\/dt>\n<dd><p>You can contact the support team at the following email address: <a href=\"mailto:hal.support@ccsd.cnrs.fr\">hal.support[at]ccsd.cnrs.fr<\/a>.<\/p><\/dd>\n<dt id=\"how%20to%20insert%20data%20into%20my%20page%3F\"><h3>How to insert data into my page?<\/h3><\/dt>\n<dd><p>Just create a page and put the shortcode <strong>[cv-hal]<\/strong> in your content. As simple as that.<\/p><\/dd>\n<dt id=\"what%20can%20i%20do%20to%20customize%20the%20content%20from%20within%20the%20shortcode%3F\"><h3>What can I do to customize the content from within the shortcode?<\/h3><\/dt>\n<dd><p>You can add parameters to your shortcode, e.g. <strong>[cv-hal id=184 type=structId_i]<\/strong>.<\/p>\n\n<p>Supported identifiers:<\/p>\n\n<ul>\n<li><strong>IdHAL (sequence of characters)<\/strong> = authIdHal_s<\/li>\n<li><strong>Structure identifier (numeric)<\/strong> = structId_i<\/li>\n<li><strong>Collection identifier (sequence of characters)<\/strong> = collCode_s<\/li>\n<li><strong>ANR Project identifier (numeric)<\/strong> = anrProjectId_i<\/li>\n<li><strong>European Project identifier (numeric)<\/strong> = europeanProjectId_i<\/li>\n<\/ul>\n\n<p>To retrieve contact information, add to the shortcode <strong>[cv-hal]<\/strong> the parameter <strong>contact<\/strong> taking the values <strong>yes<\/strong> and <strong>no, e.g. **[cv-hal contact=yes]<\/strong>.<\/p>\n\n<p>To display the number of documents, use the shortcode <strong>[nb-doc]<\/strong>.<\/p><\/dd>\n<dt id=\"curl\"><h3>cURL<\/h3><\/dt>\n<dd><ul>\n<li>You need to enable the <strong>php_curl<\/strong> extension. Navigate to <strong>Apache\/bin<\/strong> directory, open the <strong>php.ini<\/strong> file and uncomment <strong>;extension=php_curl.dll<\/strong>.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>2.7.1\n*Release Date - 11 Feb 2026<\/p>\n\n<ul>\n<li>add possibility to display only one docment type. (thx to R.Trouville)<\/li>\n<\/ul>\n\n<h4>2.7<\/h4>\n\n<p>*Release Date - Dec 2025<\/p>\n\n<ul>\n<li>use new HAL API domain name<\/li>\n<li>compat with WP 6.9<\/li>\n<\/ul>\n\n<h4>2.6<\/h4>\n\n<p>*Release Date - Jun 2025<\/p>\n\n<ul>\n<li>avoid warnings when empty response<\/li>\n<li>compat with WP 6.8.0<\/li>\n<\/ul>\n\n<h4>2.5<\/h4>\n\n<p>*Release Date - Sep 2024<\/p>\n\n<ul>\n<li>handle API errors<\/li>\n<li>avoid warning when updating array<\/li>\n<li>test compatibility with WP 6.6.1<\/li>\n<\/ul>\n\n<h4>2.4.2<\/h4>\n\n<p>*Release Date - Mar 2023<\/p>\n\n<ul>\n<li>update menu choice label and translation<\/li>\n<li>added option to show only authors affiliated to organisation(when struct id provided)<\/li>\n<\/ul>\n\n<h4>2.4.1<\/h4>\n\n<p><em>Release Date - Feb 2023<\/em><\/p>\n\n<ul>\n<li>update domain to hal.science<\/li>\n<li>use citationFull_s instead of citationRef_s for the widget<\/li>\n<li>fix english translation<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<p><em>Release Date - Nov 2022<\/em><\/p>\n\n<ul>\n<li>authStructId_i is deprecated<\/li>\n<li>build facet query according to the chosen options<\/li>\n<li>update translation for new typology<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<p><em>Release Date - July 2022<\/em><\/p>\n\n<ul>\n<li>update hal logo<\/li>\n<li>AuthorID (authId_i) is not supported anymore (use idHal)<\/li>\n<li>bug when using different permalink<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<p><em>Release Date - March 2022<\/em><\/p>\n\n<ul>\n<li>href pagination using query strings<\/li>\n<li>readme.txt updated<\/li>\n<li>comments in constantes.php updated<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<p><em>Release Date - October 2021<\/em><\/p>\n\n<ul>\n<li>menu displayed only when its items are selected<\/li>\n<li>sanitizer added to the global settings form<\/li>\n<li>strings escaped when echoing<\/li>\n<li>constants, functions and classes renamed to avoid conflicts<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<p><em>Release Date - March 2021<\/em><\/p>\n\n<ul>\n<li>translation corrected for some document types<\/li>\n<li>research teams full list displaying fixed<\/li>\n<li>unnecessary pagination button not displayed when the current page is the first or last one<\/li>\n<li>checks added to avoid PHP notices<\/li>\n<li>WP HTTP API used for HTTP requests<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<p><em>Release Date - December 2020<\/em><\/p>\n\n<ul>\n<li>compatibility with WordPress 5.6 RC tested<\/li>\n<li>support for PHP 8.0 added<\/li>\n<li>API call data caching using https:\/\/developer.wordpress.org\/apis\/handbook\/transients\/ added<\/li>\n<li>default type\/id not mandatory when shortcode parameters indicated<\/li>\n<li>documentation explaining the usage of [cv-hal] shortcode with parameters updated<\/li>\n<\/ul>\n\n<h4>2.0.10<\/h4>\n\n<p><em>Release Date - May 2020<\/em><\/p>\n\n<ul>\n<li>Pagination patch works, thanks to @yoannspace<\/li>\n<\/ul>\n\n<h4>2.0.9<\/h4>\n\n<p><em>Release Date - 6 December 2019<\/em><\/p>\n\n<ul>\n<li>WP_PROXY* options can be used, all cURL calls now made in a sub<\/li>\n<li>Warnings fixed<\/li>\n<li>Some HTML code fixed<\/li>\n<li>Other code reformatted<\/li>\n<\/ul>\n\n<h4>2.0.8<\/h4>\n\n<p><em>Release Date - 25 March 2019<\/em><\/p>\n\n<p>Code:<\/p>\n\n<ul>\n<li>Warning fixed for PHP 7.3<\/li>\n<\/ul>\n\n<h4>2.0.7<\/h4>\n\n<p><em>Release Date - 11 January 2019<\/em><\/p>\n\n<ul>\n<li>More precise date filter for last publications<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<p><em>Release Date - 28 September 2018<\/em><\/p>\n\n<ul>\n<li>Identifier authId_i added<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<p><em>Release Date - 14 February 2017<\/em><\/p>\n\n<p>Code:<\/p>\n\n<ul>\n<li>Some code updated<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<p><em>Release Date - 3 February 2017<\/em><\/p>\n\n<p>Pages:<\/p>\n\n<ul>\n<li>Identifier types updated: structId_i for structures and authStructId_i for authors associated with a specific structure identifier<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<p><em>Release Date - 24 January 2017<\/em><\/p>\n\n<p>Pages:<\/p>\n\n<ul>\n<li>CSS updated<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<p><em>Release Date - 07 December 2016<\/em><\/p>\n\n<p>Pages:<\/p>\n\n<ul>\n<li>Libraries jQplot and PieRenderer loaded for the metadata Disciplines<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<p><em>Release Date - 28 July 2016<\/em><\/p>\n\n<p>General:<\/p>\n\n<ul>\n<li>Minor bugs fixed<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<p><em>Release Date - 23 March 2016<\/em><\/p>\n\n<ul>\n<li>Shortcode [nb-doc] for displaying the number of documents added<\/li>\n<li>Possibility to display contact information for a researcher with an IdHAL<\/li>\n<\/ul>\n\n<h4>1.4.4<\/h4>\n\n<p><em>Release Date - 18 March 2016<\/em><\/p>\n\n<ul>\n<li>Bug fix for publications having a DocType<\/li>\n<li>Each DocType block has a CSS class, e.g. grp-div-ART<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<p><em>Release Date - 16 March 2016<\/em><\/p>\n\n<ul>\n<li>Bug fix for metadata syncing with HAL<\/li>\n<li>Bug fix for buttons using the theme Twenty Sixteen (CSS)<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<p><em>Release Date - 7 March 2016<\/em><\/p>\n\n<ul>\n<li>cURL API request removed for DocType<\/li>\n<li>New JSON repository with DocType created =&gt; performance improved<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<p><em>Release Date - 17 February 2016<\/em><\/p>\n\n<p>Pages:<\/p>\n\n<ul>\n<li>Citation Full changed to Citation Ref (shorter)<\/li>\n<\/ul>\n\n<p>Widget:<\/p>\n\n<ul>\n<li>You can now add parameters to the shortcode [cv-hal] (e.g. [cv-hal id=184 type=authStructId_i]), which will give you the possibility to retrieve different data on different pages. If no parameters given, global settings will be used<\/li>\n<li>Bug fix for URL links in Metadata tabs<\/li>\n<li>Performance improved<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<p><em>Release Date - 9 February 2016<\/em><\/p>\n\n<p>Pages:<\/p>\n\n<ul>\n<li>Verification for cURL extension added to PHP config<\/li>\n<li>Minor front-end updates for Publications<\/li>\n<li>Translation added for DocType<\/li>\n<li>DocType sorted alphabetically (e.g. ART, COMM, etc.)<\/li>\n<li>Each item has a class or an identifier<\/li>\n<li>You can add a stylesheet called cvhal.css to the CSS directory to override the plugin styles<\/li>\n<\/ul>\n\n<p>Widget:<\/p>\n\n<ul>\n<li>Verification for cURL extension added to PHP config<\/li>\n<li>New interface to personalize your widget: number of documents to show, display type (title or citation)<\/li>\n<li>Multiple identifiers separated by commas allowed<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<p><em>Release Date - 21 January 2016<\/em><\/p>\n\n<ul>\n<li>USER_AGENT set for cURL<\/li>\n<li>Conditions added for calling the HAL's API<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<p><em>Release Date - 15 January 2016<\/em><\/p>\n\n<ul>\n<li>Some bug fixes<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<p><em>Release Date - 7 September 2015<\/em><\/p>\n\n<ul>\n<li>Bootstrap deleted<\/li>\n<li>New appearance for the plugin<\/li>\n<\/ul>","raw_excerpt":"Easily retrieve publications associated with authors and other entities (structures, collections, research projects).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/30057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=30057"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/friz"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=30057"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=30057"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=30057"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=30057"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=30057"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=30057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}