GMS Universal Posts

外掛說明

GMS Universal Posts lets you display public posts from another WordPress website on your WordPress site.

Enter the target WordPress website URL in the plugin settings, then use the shortcode [gmsup_posts] in Elementor’s Shortcode widget or in WordPress content.

The plugin uses the target site’s standard WordPress REST API. It does not require an account, API key, paid service, or connection to a GMS server.

Features:

  • Configure any compatible WordPress website as the source.
  • Display post title, featured image, excerpt, date, category, and original post link.
  • Category dropdown.
  • Responsive 1–4 column card layout.
  • Configurable number of posts.
  • Configurable cache duration.
  • Elementor Shortcode widget support.
  • Uses WordPress HTTP API and safe remote requests.
  • No tracking or analytics.
  • No external account or license key.

External Service

This plugin connects to the WordPress website URL entered by the site administrator under Settings GMS Universal Posts.

It requests publicly available information from the target site’s standard WordPress REST API endpoints:

  • /wp-json/wp/v2/posts
  • /wp-json/wp/v2/categories

Featured-image information is obtained through the REST API’s embedded media data.

The plugin does not send personal data to GMS or another third-party service. Temporary API responses may be stored as WordPress transients on the local WordPress installation.

The availability and terms of the target site’s REST API are controlled by the target site owner.

Shortcode

Basic:

[gmsup_posts]

Six posts in three columns:

[gmsup_posts posts="6" columns="3"]

Start with a specific category:

[gmsup_posts posts="6" columns="3" category="sports"]

Hide the View All Posts link:

[gmsup_posts posts="6" columns="3" view_all="no"]<h3>Requirements</h3>

The target website must:

  • Run WordPress.
  • Expose its public REST API.
  • Allow public access to the posts and categories endpoints.

Some sites may disable or restrict their REST API. Such sites cannot be used as a source by this plugin.

Privacy

GMS Universal Posts does not collect or transmit personal data to GMS.

The plugin connects to the configured target website and requests public post and category information. WordPress transients may temporarily cache the API response locally.

安裝方式

  1. Install and activate GMS Universal Posts.
  2. Go to Settings GMS Universal Posts.
  3. Enter the target WordPress website URL, for example https://example.com.
  4. Save the settings.
  5. Edit a page with Elementor.
  6. Add Elementor’s Shortcode widget.
  7. Enter [gmsup_posts].

常見問題集

Can I use any website?

The source must be a WordPress website with accessible public REST API endpoints. A non-WordPress website cannot be used by this plugin unless it provides a compatible API endpoint, which this plugin does not currently support.

Does the target site need Elementor?

No. Elementor is only needed on the receiving site if you want to use Elementor’s Shortcode widget.

Does the target website need this plugin installed?

No. The target only needs to expose the standard WordPress REST API.

Does the plugin copy the posts?

No. It retrieves public post information and displays links back to the original posts. It does not import the posts into the local WordPress database.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈GMS Universal Posts〉的開發相關工作。

參與者

將〈GMS Universal Posts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

3.0.1

  • Updated plugin prefixes and WordPress.org compatibility metadata.

3.0.0

  • Renamed and prepared the plugin as GMS Universal Posts.
  • Added WordPress.org-compatible plugin metadata and documentation.
  • Added explicit external-service disclosure.
  • Added privacy-policy guidance.
  • Improved sanitization, validation, escaping, and safe remote requests.
  • Added proper uninstall cleanup.
  • Moved public JavaScript into an enqueued asset.
  • Added responsive post cards and category filtering.