[WordPress] 外掛分享: DP Import

首頁外掛目錄 › DP Import
60+
安裝啟用
尚無評分
3 天前
最後更新
問題解決
WordPress 6.3+ PHP 8.0+ v2.0.2 上架:2025-08-20

內容簡介

DP Import 外掛能夠從 Docplanner 平台抓取公開的醫生資料、病患評價與評論,並透過原生區塊或短碼在 WordPress 網站上顯示,提供使用者方便的醫療資訊展示。

【主要功能】
• 支援多達 20 位醫生或專家的資料顯示
• 自動更新功能,確保資料即時性
• 提供原生區塊與短碼顯示醫生資料

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「DP Import」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The DP Import plugin fetches publicly available doctor data, patient ratings, and reviews from Docplanner platforms (e.g., znanylekarz.pl, doctoralia.es, miodottore.it, and more) and allows displaying them on your WordPress site using native blocks or shortcodes. Available in FREE and PRO versions.
FREE Version:
– One doctor or specialist profile.
– Fetches doctor data and all available reviews.
– Manual profile updates and the dashboard widget.
– Native blocks: DP Import — Specialist profile and DP Import — Reviews.
– Shortcodes: [dp_import_doctor] and [dp_import_reviews].
PRO Version:
– All FREE features.
– Up to 20 doctor or specialist profiles.
– Automatic global updates via CRON (daily, every 3 days, or weekly).
– Bulk update of all profiles.
– If PRO expires, existing profiles remain visible and can still be updated individually.
Key Features:
– Supports Docplanner platforms in 13 markets (doctoraliar.com, doctoralia.com.br, doctoralia.cl, doctoralia.co, znamylekar.cz, jameda.de, doctoralia.es, miodottore.it, doctoralia.mx, doctoralia.pe, znanylekarz.pl, doctoralia.com.pt, doktortakvimi.com). The legacy doctoralia.com.mx domain remains accepted for compatibility.
– Displays data through native blocks or via [dp_import_doctor] (attributes: profile=”slug” show=”fullname,score,avatar,specializations”) and [dp_import_reviews] (attributes: profile=”slug” limit=”5″ min_rate=”0″ show_author=”yes” show_score=”yes” show_date=”yes”). Blocks and shortcodes without a selected profile use the first-created profile.
– Secure API key verification.
External Services
This plugin connects to Docplanner platform websites to import the public profile selected by the administrator. The request is made only when an administrator adds or manually updates a profile, or when an enabled PRO schedule runs.
Docplanner data connection:
– The selected public profile URL and the standard technical information required for an HTTP request are sent to the Docplanner domain entered by the administrator.
– The connection is used only to retrieve the selected specialist’s public profile data and public reviews.
– The provider is Docplanner Group through its regional platforms listed in the Key Features section.
– Docplanner corporate website: https://www.docplanner.com
– The terms and privacy policy applicable to a profile are available on the selected regional Docplanner platform.
The plugin also connects to an external API service to verify the API key entered by the user. When a valid key is provided, all PRO features become available to the user.
What data is sent:
– Your website domain (e.g., example.com)
– The API key entered by the user
When data is sent:
Data is sent when the user enters or updates an API key in the plugin settings page, regardless of whether the key is valid, as the API verifies its validity. In the PRO version, data is also sent each time doctor data, ratings, and reviews are updated to verify the API key again.
Purpose of the connection:
The verification process confirms that the user has a valid license for the PRO version of the plugin. Without a verified key, only the FREE version features are available.
Service provider:
This service is provided by Kamil Niziński.
– Service website: https://www.dp-import.kamilnizinski.com/
– API endpoint: https://kamilnizinski.com/wp-json/dp-import
– Terms of service: https://www.dp-import.kamilnizinski.com/terms-of-service
– Privacy policy: https://www.dp-import.kamilnizinski.com/privacy-policy
Developer API
DP Import provides a stable, read-only API for custom integrations and shortcodes. Use these functions instead of querying the plugin tables directly:

dp_import_get_profile($selector = null) – Returns one profile selected by ID or slug. Without a selector, it returns the first-created profile.
dp_import_get_profiles($args = []) – Returns profiles. Supported arguments: status (active, paused, or error), limit, and offset. A limit of 0 returns all matching profiles.
dp_import_get_profile_reviews($selector = null, $args = []) – Returns visible reviews. Supported arguments: limit, offset, and min_rate. A limit of 0 returns all visible reviews.
dp_import_get_profile_reviews_count($selector = null) – Returns the number of visible reviews.

Hidden reviews and internal fields such as URL hashes, synchronization errors, and visibility flags are never returned by the public API. Returned values are raw stored data and must be escaped for their output context.
Profile objects contain: id, slug, source_url, source_host, external_id, fullname, specializations, score, reviews_count, avatar_url, status, last_sync_at, and last_sync_status.
Review objects contain: id, profile_id, author, score, content, and publication_date.
Example custom shortcode:
add_shortcode('my_specialist', function ($atts) {
$atts = shortcode_atts(['profile' => ''], $atts);
$profile = dp_import_get_profile($atts['profile'] ?: null);
return $profile ? '

' . esc_html($profile->fullname) . '

' : '';
});

Example review query:
$reviews = dp_import_get_profile_reviews('john-doe', [
'limit' => 3,
'offset' => 0,
'min_rate' => 4,
]);

The dp_import_ready action runs after the API, shortcodes, cron, and AJAX handlers have been initialized.
License
This plugin is licensed under the GPLv2 or later. You are free to use, modify, and distribute it under the terms of this license.
Disclaimer
DP Import is provided “as is”, without warranties, to the extent permitted by applicable law.
DP Import is an independent project and is not affiliated with, endorsed by, or sponsored by Docplanner Group or its regional platforms.
The site administrator decides which public profiles and reviews to import and display and is responsible for having the necessary rights or lawful basis, providing any required notices, handling applicable data subject requests, and complying with applicable laws and the terms of the source platform.
The plugin does not provide legal advice or guarantee legal compliance. The author is not responsible for third-party content, decisions made by site administrators, or changes to or availability of external platforms. Nothing in this disclaimer excludes or limits liability that cannot be excluded under applicable law.

文章
Filter
Apply Filters
Mastodon