=== Researcher Profile ===
Contributors: maulanaakbar
Tags: orcid, academic, publications, researcher, profile
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A researcher profile card (photo, position, education, Google Scholar/Scopus/WoS/SINTA/ResearchGate links) with an optional ORCID publication sync.

== Description ==

Researcher Profile displays a researcher's profile card anywhere on your site via the `[researcher_profile]` shortcode. The card combines two kinds of data:

**Entered manually, so it never breaks when a third-party site changes:**

* Profile photo (via the Media Library)
* Display name
* Current position / affiliation
* Latest education
* Links to your Google Scholar, Scopus, Web of Science, SINTA, and ResearchGate profiles (shown as outbound badges)

**Fetched automatically from the official ORCID Public API (no scraping), optional:**

* Short biography and research keywords
* Publication list (title, journal, year, DOI link), sorted newest first, refreshed periodically via a cache

Why it's split this way: of all the platforms researchers commonly use (Google Scholar, Scopus, Web of Science, SINTA, ResearchGate, ORCID), only ORCID has an official public API. The others either provide no API at all, or require paid/institutional access, so pulling their data automatically would mean fragile scraping that can break at any time. This plugin uses plain links for those platforms instead, and only relies on ORCID for automatic data.

= Why ORCID only for automatic data? =

* Google Scholar has no official API.
* Scopus has an official API, but it requires institutional or paid access.
* Web of Science has no free public API.
* ResearchGate has no public API at all.
* ORCID has a free, official Public API, which is what this plugin uses.

== Installation ==

1. Upload the `researcher-profile` folder to `/wp-content/plugins/`, or upload the zip file via Plugins > Add New > Upload Plugin.
2. Activate the plugin through the Plugins menu in WordPress.
3. Go to Settings > Researcher Profile and fill in your photo, name, position, education, and external profile links.
4. (Optional) For an automatic publication list: register a free application at https://orcid.org/developer-tools, then enter your ORCID iD, Client ID, and Client Secret at the bottom of the settings page.
5. Place the `[researcher_profile]` shortcode on any page or post.

== Frequently Asked Questions ==

= Is an ORCID iD required? =

No. The profile card (photo, name, position, education, external links) displays without ORCID. ORCID is only used if you want an automatically synced publication list.

= Why do I need to register a Client ID/Secret if ORCID is public? =

ORCID still requires OAuth2 authentication (client_credentials) to call its Public API, even though the data being fetched is public. Registration is free and only needs to be done once.

= Can this plugin automatically pull data from Google Scholar, Scopus, Web of Science, SINTA, or ResearchGate? =

No. None of those platforms offer a free public API (Scopus requires institutional/paid access, and the others have no API at all). This plugin displays them as plain profile links instead, pasted once, that will never break due to changes on those sites.

= How often is the publication list updated? =

Based on the "Cache duration" setting (24 hours by default). You can also force a refresh at any time with the "Refresh Data Now" button on the settings page.

= Does this plugin store any personal data? =

The plugin stores whatever you enter in its settings (name, position, education, links, ORCID iD, and ORCID API credentials) as a single WordPress option, and caches ORCID API responses as transients. It does not collect data from your site's visitors.

== Screenshots ==

1. Settings page: manual profile fields, external profile links, and optional ORCID sync.
2. Example profile card rendered by the `[researcher_profile]` shortcode.

== Changelog ==

= 1.2.0 =
* Plugin fully translated to English as the default language, ready for the WordPress.org directory.
* Added an Indonesian (id_ID) translation so existing Indonesian-locale sites keep the same experience.

= 1.1.0 =
* Added a manual profile card: photo (Media Library), display name, current position, latest education.
* Added external profile links: Google Scholar, Scopus, Web of Science, SINTA, ResearchGate.
* ORCID iD is now optional, used only for the biography and automatic publication list.
* Removed fetching affiliation/employment data from ORCID (replaced by the manual "Current Position" field).

= 1.0.0 =
* First release: profile, affiliation, and publication list display from the ORCID Public API.

== Upgrade Notice ==

= 1.2.0 =
Plugin strings are now in English by default, with an Indonesian translation bundled in languages/. No settings are lost when upgrading from 1.1.0.
