# Custom Plugin Cards

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FrI1xIDVGvsH341PTXdDE%2Fdlx-2025xfl0dfRu%402x.jpg?alt=media&#x26;token=d16564ee-31ec-4032-9630-77010432218b" alt=""><figcaption><p>Custom Plugin Cards with WP Plugin Info Card</p></figcaption></figure>

Custom Plugin Cards are the latest addition to WP Plugin Info Card. They allow you to create third-party plugins that can be shared with the world and displayed using WP Plugin Info Card.

### Features

1. Create and display third-party plugins.
2. Configure whether Custom Plugin Cards and REST are enabled.
3. Enable or disable a REST API for your plugin.
4. Export single or multiple plugins to a JSON file.
5. Import single or multiple plugins via a JSON file.
6. Copy and share a REST URL to import a plugin remotely.
7. Keep third-party plugins up to date with the REST API.

### Adding a New Third-party Plugin

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FDuQJnWa0tfJm9knPwBZ9%2Fdlx-20252cY9bjN0%402x.jpg?alt=media&#x26;token=b092d58f-9feb-41ab-973f-faaf021ce502" alt=""><figcaption><p>Click "Add New Plugin" to Create a New Plugin</p></figcaption></figure>

Click on "Add New Plugin" in the sidebar to create a new plugin.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FVds1X45S8e2EB0CRrmbY%2Fdlx-2025AAekoRa9%402x.jpg?alt=media&#x26;token=afd5b113-f6cf-4dc0-94e1-a04f53ed9106" alt=""><figcaption><p>Add New Plugins Screen</p></figcaption></figure>

You'll be prompted to enter several pieces of information about the plugin. Please fill in as much information as possible. You're able to edit it later.

{% hint style="danger" %}
**The Plugin Slug**: The plugin slug will be used in WP Plugin Info Card to display the plugin.
{% endhint %}

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2F2Og18W7VsBzjmfPXEJLr%2Fdlx-2025BmXL5ry4%402x.jpg?alt=media&#x26;token=36acdbc9-b19c-432e-87a5-49e774b184c9" alt=""><figcaption><p>Plugin List Screen in the Admin</p></figcaption></figure>

Once you've saved the plugin, it'll display in the plugin list. You can then use the slug to display the plugin using WP Plugin Info Card.

### Configure Whether Custom Plugin Cards and the REST API Are Enabled

To configure Custom Plugin Cards, head to the advanced settings in the admin panel.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2F9pKHNXk2fcJ6933Qd7YW%2Fdlx-2025t2dHhClM%402x.jpg?alt=media&#x26;token=2c847cb6-cf55-41d6-81a9-84d69c8a1b1f" alt=""><figcaption><p>Advanced Settings for Custom Plugin Cards</p></figcaption></figure>

Click on "Configure Settings" to reach the settings for Custom Plugin Cards.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FjFGuDx6Xjw0OxeY2vwTa%2Fdlx-2025PWSnB8JA%402x.jpg?alt=media&#x26;token=5ef9ad9f-535e-4863-b6fc-8f3f7d877379" alt=""><figcaption><p>Advanced Settings in the Admin</p></figcaption></figure>

From the Advanced settings, you can configure whether custom plugins are enabled. If disabled, no custom plugins will display on the frontend. If enabled, then the custom plugins created will be displayed if available.

{% hint style="info" %}
**Plugin Slugs**: The slugs, if a duplicate of .org, will override the .org plugin display.
{% endhint %}

#### Enabling the REST API

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2Fm45VlEyZuMQcbhVBkLDq%2Fdlx-2025cFApiKEA%402x.jpg?alt=media&#x26;token=acaf832d-3b8b-453d-b307-e007b9fe6f9f" alt=""><figcaption><p>REST API Options in Custom Plugin Cards</p></figcaption></figure>

If you choose to enable the REST API, then any plugin you create can have a REST API endpoint available. This REST URL can be shared with other users, and the plugin can be imported and synced via this REST API.

Once enabled, you can also choose how often you ping the REST APIs you are subscribed to. The recommended time is 14 days, but you can adjust this sooner or later.

Please note that this relies on others having their REST API available for consumption. A user can enable their REST API for the initial import, but restrict it later.

### Enable a REST API for a Plugin

When editing a plugin, you can enable a REST API for the plugin.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FfMXmZWeSs2hAOx0ZECQC%2Fdlx-2025K7lCtjTV%402x.jpg?alt=media&#x26;token=f17f2bf3-1578-45e4-a723-c8ce519f3f24" alt=""><figcaption><p>Enable a REST API for a Plugin</p></figcaption></figure>

You can set a passcode so that others can access your REST API URL. If you don't want people to access your REST API to update a plugin, you can change the passcode or disable REST in the admin settings.

The `REST API Data Version` is used to alert others when your data has changed, particularly with the images. The text is auto-updated, but the images will only be auto-updated if the version has changed.

You can copy a plugin's REST URL by clicking the contextual menu on the plugin's screen and copying it.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FdznB9KjScR6x0vfMCvsj%2Fdlx-2025eUnw8wny.gif?alt=media&#x26;token=e26bf964-4b64-4e11-b711-60830fa47902" alt=""><figcaption><p>Copying a REST URL</p></figcaption></figure>

Once copied, a REST URL can be imported.

### Exporting Single or Multiple Plugins

An individual plugin may be exported by opening the Contextual Menu and clicking Export Plugin. This plugin will then be exported via a JSON format.

You can export multiple plugins by clicking the checkbox options for a plugin.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2F97iIHkGDCgioLlY3DzIR%2Fdlx-2025P0EHfYKa.gif?alt=media&#x26;token=b9273834-3b4c-4961-a1ab-3245e4f4d773" alt=""><figcaption><p>Export Multiple Plugins</p></figcaption></figure>

Import a plugin by clicking the "Import Plugin" button.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FVHjnq3DJW2gas4mkVzfb%2Fdlx-2025MuIcmIJ9%402x.jpg?alt=media&#x26;token=0d51c02d-9105-4f55-af13-5cbb3df5daea" alt=""><figcaption><p>Import Plugin Button</p></figcaption></figure>

Select a "JSON" file exported from WP Plugin Info Card.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FzQIE58wPEAkM10qAD87T%2Fdlx-2025h6CIhnvS%402x.jpg?alt=media&#x26;token=ca0dcf08-89ee-4b7c-83b4-436e4955566b" alt=""><figcaption><p>Select JSON File From WP Plugin Info Card</p></figcaption></figure>

Once the import is successful, the plugin will show up in your plugin list.

### Importing From REST

Once someone has shared a REST URL with you, you can import it by clicking the "Import Plugin" option and selecting "Import from REST API."

{% file src="<https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FSXUkiyAyTqAPhdRGqnC6%2Fdlx-2025ZqXdUnsN.gif?alt=media&token=6adbf545-cbf5-44de-8462-4cc5af39a364>" %}
Importing from REST
{% endfile %}

### Displaying Your Plugin

You can use the plugin's slug to display it using WP Plugin Info Card.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FlnESd1wy4Z7HJk6Au3kJ%2Fdlx-2025JfI31hKL%402x.jpg?alt=media&#x26;token=3c98f6c3-703e-4c8d-97ab-313b55cc6dad" alt=""><figcaption><p>Enter the Slug for the Plugin Info Card Block and Shortcode Settings</p></figcaption></figure>

You'll then be able to preview the block on the frontend.

<figure><img src="https://2501776759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpnYS3YtcHzoazndRXC9y%2Fuploads%2FwxCktoqAtTyXKN2PXpsK%2Fdlx-202561gqFLv7%402x.jpg?alt=media&#x26;token=52e89c0f-5170-4251-995b-108e317033bd" alt=""><figcaption><p>Plugin Card on the Frontend</p></figcaption></figure>
