Only this pageAll pages
Powered by GitBook
1 of 25

WP Plugin Info Card

Loading...

Getting Started

Loading...

Loading...

Overview

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Shortcodes

Loading...

Loading...

Loading...

Loading...

Loading...

Blocks

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Quick Links

Welcome to WP Plugin Info Card

The easiest way to show off plugins or themes on your site.

WP Plugin Info Card - Card Layout

WP Plugin Info Card is the easiest way to showcase WordPress.org hosted plugins and themes.

View the French documentation

With four layouts, 14 color schemes, and 3 helper shortcodes/blocks, you'll find WP Plugin Info Card flexible enough to meet your design and layout needs.

WP Plugin Info Card Quick Teaser

Please view the video below for a brief teaser of what WP Plugin Info Card can do for your site.

WP Plugin Info Card In-depth Overview

This thirteen-minute video (below) gives you an extensive overview of how WP Plugin Info Card works.

Schemes

WP Plugin Info Card comes with fourteen color schemes

You can easily change the schemes of WP Plugin Info Card to match your site. Please see below for all of the available schemes.

Scheme 1

Scheme 1

Scheme 2

Scheme 3

Scheme 4

Scheme 5

Scheme 6

Scheme 7

Scheme 8

Scheme 9

Scheme 10

Scheme 11

Scheme 12

Scheme 13

Scheme 14

Finding the Admin Settings

Finding the Admin Settings From the Plugins Screen

If you are on the plugin's screen, search for WP Piugin Info Card and click on the Settings link.

Finding the Admin Settings from the Menu

Alternatively, in the admin menu, head to Settings->WP Plugin Info Card.

Admin Settings for the Plugin
WP Plugin Info Card on the Plugins Screen
Scheme 2
Scheme 3
Scheme 4
Scheme 5
Scheme 6
Scheme 7
Scheme 8
Scheme 9
Scheme 10
Scheme 11
Scheme 12
Scheme 13
Scheme 14
Settings Menu

Easy Digital Downloads Integration

Find out how to show your plugins that are hosted with Easy Digital Downloads

Easy Digital Downloads is a great tool for selling plugins, and now with WP Plugin Info Card, you can now show these plugins on the frontend using WP Plugin Info Card.

Required Extensions

For the EDD integration to work correctly, it is recommended that you have two add-ons installed:

  1. Software Licensing (Required)

  2. (Recommended, not Required)

Enabling EDD

Head to the Plugin Info Card admin options and select the EDD tab.

Check the "Enable Easy Digital Downloads" toggle and switch it to on. Save your settings.

Enable Readme Parsing in EDD (Highly Recommended)

Head to EDD's settings under Extensions. Make sure readme parsing is enabled and that you have a valid downloadable readme.

Edit Your Download and Enable License Creation

License creation must be enabled

License creation must be enabled in order to sell your downloads. It is also required to show your plugins using the WP Plugin Info Card, as it enables extra fields for your plugin..

Edit Your Download and Add Your Plugin Information

Add as much plugin information as possible to your download, including:

  1. Setting a Download image (featured image)

  2. Setting a banner image

  3. Plugin homepage

Make sure your Readme has as much information as possible as well.

Edit EDD Download Plugin Info Card Settings

You'll find additional settings for the Plugin Info Card in the right sidebar. Make sure these are filled out for each download.

You can also override the ratings if you don't have the Reviews plugin installed or have ratings elsewhere.

Adding the Card

You can add the card either via block or shortcode.

The card will show up as normal on the frontend, albeit with EDD data.

Clear Cache as Necessary

If you make any changes to your download, you'll have to clear the Plugin Info Card cache.

You can do so by clearing the transient and options cache.

Need Additional Support

If you need additional support getting Plugin Info Card working with Easy Digital Downloads, please .

Layouts

WP Plugin Info Card comes with four layouts

WP Plugin Info Card comes with five different layouts.

Card Layout

The card layout is a condensed layout that shows some quick stats about the plugin or theme.

Card Layout

The Card can be flipped to reveal more information about the plugin or theme.

The Card Layout has a Flip Effect

WordPress Layout

The WordPress layout plays on the default WordPress plugin embed but provides more relevant stats.

Large Layout

The Large layout is a larger layout to showcase your plugins or themes in a beautiful bold layout.

Flex Layout

The Flex layout is a layout that stretches and is ideal when you need WP Plugin Info Card to take up the full width of a template.

Ratings Layout

The Ratings layout puts the plugin rating front-and-center and can quickly show off the quality of a plugin.

Installation

Installation is simple.

Install from the WordPress Admin

  1. Log into your WordPress admin (i.e., your dashboard)

Product Reviews
reach out to support
EDD Tab in Plugin Info Card
Make Sure License Creation is Enabled
Plugin Information in EDD
Plugin Info Card Setings for the Download
Using a Block to Add an EDD Plugin
Plugin Info Card Output on the Frontend
Cache Clearing Options on Plugin Info Card
Go to Plugins->Add New
  • Type in WP Plugin Info Card

  • Install the plugin

  • Activate the plugin

  • After activation, you will be taken to the plugin's settings screen.

    Add WP Plugin Info Card via Plugins Add New
    WordPress Layout
    Large Layout
    Flex Layout
    Ratings Layout

    wp-pic-site-plugins

    Display a list of all of your site's plugins

    The wp-pic-site-plugins shortcode displays a list of your site's plugins.

    Third-party plugins: (plugins not hosted on the WordPress Plugin Directory) are excluded from this site list.

    Here's an example of the shortcode in use:

    The following are the shortcode parameters.

    id

    The ID surrounding the container that contains the site plugins.

    cols

    The number of columns (1-3) for the site plugins layout.

    col_gap

    The gap between columns in pixels.

    row_gap

    The gap between rows in pixels.

    scheme

    The scheme used. Can be scheme1 - scheme14.

    layout

    The layout used. Can be card, flex, wordpress, ratings, and large.

    {slug}={title} or {slug}="false"

    A slug can be set in the shortcode attributes to override the title or disable the plugin from displaying.

    Simply use the plugin or theme slug in the shortcode attributes.

    Here's an example:

    WP Plugin Info Card Query Block

    The query block allows you to display a group of plugins based on a search

    Two-column Layout for the Query Block

    When you first insert the block, you will be prompted to enter some query parameters.

    Query Based on Several Parameters

    You can also sort the results by active installs, downloads, or last updated.

    Sort the Results Even Further

    Once you click on Query and Configure, you can further customize using the sidebar options.

    Set the Sidebar Options for the Query Block

    Finding the Blocks

    WP Plugin Info Card comes with three blocks.

    You can find them in the block inserter (+ Button) under the WP Plugin Info Card category.

    You can also use a / slash command and just type in /plugin to view the blocks.

    [wp-pic-site-plugins cols="2" col_gap="20" row_gap="20" scheme="scheme13" layout="large"]
    [wp-pic-site-plugins cols="2" col_gap="20" row_gap="20" scheme="scheme13" layout="large" easy-digital-downloads="Easy Digital Downloads" query-monitor="false"]

    wp-pic-plugin-screenshot

    Display a plugin card with screenshots.

    You can use the plugin screenshots shortcode to display a plugin card with screenshots anywhere shortcodes are supported.

    Here is an example of the shortcode in use, using default settings.

    The following are the parameters for the shortcode:

    unique_id

    The Unique ID surrounding the card's HTML structure. This is randomized if omitted.

    slug (required)

    The plugin slug for the WordPress.org asset.

    icon_style

    Can be:

    • none - No icon style

    • border - Icon with a border

    • bw - Black & White icon

    enable_rounded_icon

    Determine if you would like a rounded icon or not for the plugin icon.

    Can be:

    • true - Rounded icon

    • false - Square icon

    color_theme

    Choose from several built-in color themes.

    Can be:

    • default

    • blossom

    • crimson

    • velvet

    custom_colors

    Set to true to override the built-in color themes and provide your own custom colors.

    plugin_title

    Override the plugin's title with something more custom or shorter than the original title.

    enable_context_menu

    Enable or disable the context menu that shows extra information about the plugin.

    Can be:

    • true

    • false

    enable_screenshots

    Enable or disable the screenshots that display with the plugin.

    Can be:

    • true

    • false

    align

    Align the output according to the theme. Can be:

    • center

    • wide

    • full

    color_background

    Hex code for the background of the plugin container.

    color_text

    Hex code for the main text color.

    color_border

    The hex code for the border color of the plugin container.

    color_menu_border

    The hex code for the border of the contextual menu.

    color_menu

    The hex code for the contextual menu color.

    color_menu_hover

    The hex code for the contextual menu color on hover.

    color_menu_text

    The hex code for the contextual menu text color.

    color_menu_text_hover

    The hex code for the contextual menu text color on hover.

    color_screenshots_background

    The hex code for the background of the screenshots section.

    color_screenshots_border

    The hex code for the border of the screenshots section.

    color_screenshots_arrow_background

    The hex code for the screenshot arrows background color.

    color_screenshots_arrow_background_hover

    The hex code for the screenshots arrows background color on hover.

    color_screenshots_arrow

    The hex code for the arrow color.

    color_screenshots_arrow_hover

    The hex code for the arrow color on hover.

    color_star

    The hex code for the star color when showing ratings.

    color_meta_background

    The hex code background color for the meta section.

    color_meta_text

    The hex code for the text color of the meta sectioin.

    skip_animated_gifs

    Disable animated gifs from showing in the screenshots. This can help speed up loading time.

    The GitHub Info Cards Block

    Show off a GitHub info card with shortcuts to your repository.

    The block allows you to insert any public repository and display it in a beautiful layout.

    First is finding the block, which I recommend using a / command for.

    Inserting the Block

    Using the slash command, find the GitHub Info Cards Grid block. Use slash command: /git

    From there, you can enter the repo information, including username and repo.

    Configuring the the Parent Block

    The blocks are split into two. You have a main grid block and a child GitHub Info Card block.

    In the main block's toolbar, you'll find the following shortcuts.

    1. Switch themes

    2. Switch between Large and Card layouts

    3. Add a New Card

    You can also switch themes via the block's sidebar options.

    If multiple cards are in one grid, the grid layout settings will be displayed.

    You can also control the visibility settings of certain sections by toggling them on or off. This applies to all cards within the grid.

    Configuring the Child Block - GitHub Info Card

    The child block's toolbar allows you to:

    1. Edit the GitHub repo's username and repo name.

    2. Refresh the repo in the block editor.

    3. Change the theme of all child blocks.

    4. Change the appearance of all child blocks.

    For the child block, the block controls allow you to override various sections of the card, including:

    • Repo name

    • Repo author

    • Homepage URL

    • Sponsors URL

    Additional button controls allow you to customize the button, both in changing the button's text, and the button's URL.

    Lastly, you would publish the changes and view the cards on your site.

    Enabling GitHub Info Cards

    By default, GitHub Info Cards are disabled. This is because they require a GitHub Personal Access Token to gather repository information.

    Navigate to the Admin Settings and Choose GitHub Info Cards

    Navigate to the admin settings and locate the GitHub Info Cards section.

    Finding the Admin Settings

    Enable GitHub Info Cards and Add a GitHub Personal Access token.

    When prompted, enter your GitHub Personal Access Token. Here's an article on how to .

    If successful, you will be shown your current rate limit.

    You'll now be able to use the GitHub Info Cards block and shortcode.

    WP Plugin Info Card Block

    The WP Plugin Info Card block is essentially a wrapper for the wp-pic shortcode.

    When first inserting the block, you'll be presented with entering a type and plugin slug.

    Type tab: Enter a Type and Slug on the Main Block Screen

    The slug can be comma-separated if you would like to display more than one plugin or theme at a time.

    Switching to the Appearance tab will allow you to select a layout and a scheme.

    Appearance Tab: Set Layout and Scheme

    Once you've selected a slug and layout, you can click on Preview and Configure. This will reveal an info card for a plugin or theme.

    Preview View

    From the block's toolbar menu, you can edit the scheme and layout of the info card.

    Finally, you can also set the layout/scheme in the sidebar options as well.

    GitHub Info Cards

    Create GitHub Info Cards With Plugin Info Card

    The GitHub integration for WP Plugin Info Cards allows you to share practically any public GitHub repo.

    A GitHub Personal Access Token is Required.

    To avoid rate limit issues, a GitHub personal access token is required. I've written an article on .

    A GitHub Info Card can be added via the or .

    Site Plugins Card Grid

    Display your active plugins in a grid

    The Site Plugins Card Grid block will allow you to display all of your active plugins.

    The block can only output plugins listed on the WordPress Plugin Directory.

    When you first insert the block, you'll have to load the plugins. Since these plugins are pinging the WordPress Plugin's API, it may take a minute to gather all of the information.

    Once the plugins are loaded, you can change the scheme and layout used.

    [wp-pic-plugin-screenshots slug="simple-comment-editing"]
    Upload a custom avatar
    Use Slash Command /git to Find the Block
    Gif of Inserting and Adding the Repo
    Sidebar Block Theme Options
    Grid Layout Settings
    Controlling the Visibility Settings of the Parent Block
    The GitHub Info Card Child Block Toolbar
    Child Block Overrides of the GitHub Info Card
    Button Overrides in the Child Block
    retrieve a non-expiring GitHub personal access token
    github-info-card
    The GitHub Info Cards Block
    Change the Layout
    Change the Color Scheme
    Sidebar Options
    dark
  • light

  • feathers

  • caramel

  • [wp-pic-plugin-screenshots slug="highlight-and-share" skip_animated_gifs="true"]
    Layouts

    The cards can be displayed in a Large or Card layout.

    It features:

    • A top bar with language, license, and quick links.

    • An author bar with avatar, repo name, and author.

    • A stats bar with quick links to stars, forks, watchers, and current release.

    • A description.

    • A last updated bar and call-to-action.

    Large Layout

    Large Layout Showing the VS Code GitHub Repo

    The large layout is horizontally aligned and features a prominent call-to-action.

    Card Layout

    Card Layout Showing the VS Code GitHub Repo

    The card layout is center-aligned and features a prominent stats bar and call-to-action.

    Themes

    Here are the various themes for the GitHub Info Cards.

    GitHub Light

    GitHub Dark

    GitHub Colorful

    GitHub B&W

    GitHub Custom

    You can choose from several custom colors to make the GitHub card your own.

    GitHub Card With Custom Colors
    how to retrieve a non-expiring GitHub personal access token
    block editor
    shortcode
    Enabling GitHub Info Cards
    Demo of GitHub Info Cards
    Enabling GitHub Info Cards
    github-info-card
    The GitHub Info Cards Block
    You can also use the sidebar options to configure even further.
    Set Column Gap/Row Gap in the Sidebar Options

    You can adjust the columns from 1-3 columns and also set a row and column gap for the grid.

    The First Step is to Load the Plugins
    Select a Scheme
    Select a Layout

    wp-pic-query

    Use wp-pic-query to output a set of plugins based on a query

    The wp-pic-query shortcode is used to output a set of a plugin based on a query you specify.

    All of the wp-pic shortcode attributes apply as well. You may need to change type to 'theme' if you are querying for themes.

    Here are the available parameters.

    Plugin Screenshots Info Card

    Show off a plugin card with screenshots.

    The Plugin Screenshots Info Card block allows you to display the plugin's information along with any screenshots from WordPress.org.

    Screenshots will pop up in a lightbox gallery when clicked on.

    Inserting the Block

    Using the slash command, find the Plugin Screenshots Info Card block.

    search (default empty)

    Search the plugin or theme directory for a keyword. Example of retrieving plugins that have to do with higlighting.

    tag (default empty, can be comma-separated)

    Search for a specific plugin or theme tag.

    author (default empty, WordPress.org username)

    Retrieve a list of plugins or themes based on the .org username.

    user (default empty, WordPress.org username)

    Retrieve a user's favorite plugins.

    browse (default empty)

    Browse, if specified, can have the following values.

    • featured

    • popular

    • updated

    • favorites

    per_page (default 24)

    How many results should be returned.

    cols (default 2)

    This is an appearance attribute. Choose from 1 to 3 columns for the output.

    col_gap

    The gap between columns in pixels.

    row_gap

    The gap between rows in pixels.

    {slug}={title} or {slug}="false"

    A slug can be set in the shortcode attributes to override the title or disable the plugin from displaying.

    Simply use the plugin or theme slug in the shortcode attributes.

    Here's an example:

    wp-pic
    [wp-pic-query search="highlight"]
    [wp-pic-query tag="dark,four-columns" per_page="4" type="theme" layout="wordpress" align="center" ajax="yes" cols="2"]
    [wp-pic-query author="automattic" per_page="6" type="plugin" layout="wordpress" align="center" ajax="yes" cols="2"]
    [wp-pic-query user="briKou" per_page="4" type="plugin" layout="wordpress" align="center" ajax="yes" cols="2"]
    [wp-pic-query browse="popular" per_page="6" type="plugin" layout="card" margin="1rem" ajax="yes" cols="2"]
    [wp-pic-query tag="buddypress" per_page="2" type="theme" layout="large" align="center" align="center"]
    [wp-pic-query author="ronalfy" per_page="6" type="plugin" layout="wordpress" align="center" ajax="yes" cols="2" alerts-dlx="Alerts DLX" wp-ajaxify-comments="false" simple-comment-editing="Conversational Editing"]
    Configuring the Block

    When you first enter the block, it will ask for the plugin slug. Go ahead and add your plugin slug; if it is found, you'll be taken to a new screen where you can configure the block.

    Block Slug Prompt

    Block Options

    Several Block Options Allow For Configuring

    There are several block options, which can further customize the block.

    Rounded Icons and Icon Style

    You can adjust how the icon appears for the plugin, and even make the icon black & white.

    Enable or Disable the Context Menu

    The Context menu displays extra links to the plugin's various sections. If disabled, the context menu will not display.

    Override the plugin title

    Sometimes the plugin title can be a bit long or has marketing text in it. You can customize how the plugin title is output based on this override.

    Enable or Disable Screenshots

    If you want to display a plugin without screenshots, you can disable the option here.

    Color Themes

    For the appearance of the block, there are several "color themes" to choose from.

    There are eight color themes available

    If you want to create a new color theme, select "Customize the colors," and you'll be able to select from several colors and be able to save your own custom color theme.

    Save colors as a new color theme

    Plugin Screenshots Card Block
    Slash Commands Help Find the Block Faster

    wp-pic

    Use [wp-pic] to output a single plugin.

    The wp-pic shortcode can be used to display a single or multiple plugins. See below for the shortcode parameters.

    Example shortcode:

    type

    Can be of type plugin or theme. Type plugin is default.

    slug

    The slug (required) parameter can be a single or comma-separated string of plugin slugs.

    Comma-separate the slugs to be in multi mode, which will output multiple plugins.

    {slug}={title}

    A slug can be set in the shortcode attributes to override the title.

    Simply use the plugin or theme slug in the shortcode attributes.

    Here's an example:

    You can do the same for themes:

    marginSpacing

    This can be set to improve the margin around the plugin card.

    • none

    • compact

    • comfortable

    • spacious

    marginTarget

    Used to target the top, bottom, or both margins of the plugin card.

    • both

    • top

    • bottom

    multi

    This must be set to true if there are multiple slugs. The following extra attributes assist in multi output:

    • cols (1-3)

    • col_gap - Gap in pixels between items

    • row_gap - Gap in pixels between rows

    layout

    Default is “card” so you may leave this parameter empty. The default layout can be set in the admin settings.

    Available layouts are:

    • card

    • large

    • flex

    • wordpress

    scheme

    Select a card color scheme. Available schemes are scheme1 through scheme14. The default scheme can be set in the admin settings.

    image

    Designate an image that will take the place of a plugin's default banner.

    align

    Set the alignment of the info card. Values can be:

    • center

    • left

    • right

    containerid

    Set the container ID of the plugin wrapper.

    The default is: default: wp-pic-PLUGIN-SLUG.

    margin

    Set the margin for the info card. The default is no margin.

    clear

    Whether to clear the float of the container. Default is empty.

    Choices are:

    • below

    • after

    expiration

    By default, the info card are cached at 720 seconds, so as to not ping the WordPress plugin API in excess.

    You can change this expiration when outputting your cards.

    ajax

    Whether to load the plugin in via Ajax.

    Choices are: yes and no.

    custom

    Whether to output any strings associated with a plugin or theme.

    For plugins: url, name, icons, banners, version, author, requires, rating, num_ratings, downloaded, last_updated, download_link

    For themes: url, name, version, author, screenshot_url, rating, num_ratings, downloaded, last_updated, homepage, download_link

    Custom Plugin Cards

    Custom Plugin Cards allow you to use custom plugins with WP Plugin Info Card

    Custom Plugin Cards with WP Plugin Info Card

    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

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

    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.

    The Plugin Slug: The plugin slug will be used in WP Plugin Info Card to display the plugin.

    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.

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

    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.

    Plugin Slugs: The slugs, if a duplicate of .org, will override the .org plugin display.

    Enabling the REST API

    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.

    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.

    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.

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

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

    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."

    Displaying Your Plugin

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

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

    In-depth Overview of WP Plugin Info Card
    [wp-pic slug="simple-revisions-delete" layout="large" scheme="scheme1" align="right" margin="0 0 0 20px" containerid="download-sexion" ajax="yes"]// Some code
    extreme
    ratings
    Example of a Slug Title Being Overriden
    Example of Theme Overrides
    1MB
    dlx-2025ZqXdUnsN.gif
    image
    Open
    Importing from REST
    Click "Add New Plugin" to Create a New Plugin
    Add New Plugins Screen
    Plugin List Screen in the Admin
    Advanced Settings for Custom Plugin Cards
    Advanced Settings in the Admin
    REST API Options in Custom Plugin Cards
    Enable a REST API for a Plugin
    Copying a REST URL
    Export Multiple Plugins
    Import Plugin Button
    Select JSON File From WP Plugin Info Card
    Enter the Slug for the Plugin Info Card Block and Shortcode Settings
    Plugin Card on the Frontend
    [wp-pic type="theme" slug="zerif-lite"]
    [wp-pic slug="wp-plugin-info-card"]
    [wp-pic slug="highlight-and-share,simple-comment-editing" multi="true" cols="2" col_gap="40" row_gap="40"]
    [wp-pic slug="wp-plugin-info-card,highlight-and-share" multi="true" cols="2" highlight-and-share="test highlight" wp-plugin-info-card="test"]
    [wp-pic type="theme" slug="twentytwentyfour,twentytwentythree" multi="true" cols="2" twentytwentyfour="2024" twentytwentythree="2023"]
    [wp-pic slug="highlight-and-share,simple-comment-editing" multi="true" cols="2" col_gap="40" row_gap="40"]
    [wp-pic slug="wp-plugin-info-card" layout="wordpress"]
    [wp-pic slug="wp-plugin-info-card" scheme="scheme14"]
    [wp-pic slug="wordpress-seo" image="http//www.mywebsite/custom-image.jpg"]
    [wp-pic slug="wordpress-seo" align="right" margin="0 0 0 20px"]
    [wp-pic slug="wordpress-seo" clear="after"]
    [wp-pic type="theme" slug="zerif-lite" expiration="60"]
    WP Plugin Info Card Brief Overview

    github-info-card

    Display a card from GitHub in a large or card format.

    You can use the GitHub card shortcode to display GitHub cards anywhere shortcodes are supported.

    Here is an example of the shortcode in use, using default settings.

    The following are the parameters for the shortcode:

    Required Attributes

    Attribute
    Type
    Default
    Description

    username

    string

    Layout & Display Attributes

    Attribute
    Type
    Default
    Description

    Sample shortcodes:

    Spacing & Margin Attributes

    Attribute
    Type
    Default
    Description

    Sample shortcode with a comfortable margin on the bottom:

    Color Customization Attributes

    The style attribute must be custom for custom colors to register.

    Attribute
    Type
    Default
    Description

    Sample shortcode:

    Display Toggle Attributes

    Attribute
    Type
    Default
    Description

    Sample shortcode:

    Button Configuration Attributes

    Attribute
    Type
    Default
    Description

    Sample shortcode:

    Content Override Attributes

    Attribute
    Type
    Default
    Description

    Sample shortcode:

    CSS Classes

    Attribute
    Type
    Default
    Description

    CSS Customization

    The shortcodes generate CSS custom properties (variables) that you can override in your theme:

    Browser Compatibility

    • Modern browsers with CSS Grid support

    • Responsive design that works on mobile and desktop

    • Graceful fallbacks for older browsers

    [github-info-card username="dlxplugins" repo="highlight-and-share"]

    style

    string

    light

    Style slug (options: dark, light, bw, purple, colorful, custom)

    style - dark

    Dark theme

    style - light

    Light theme

    style - bw

    Black and White theme

    style - purple

    Purple theme

    style - colorful

    Colorful theme

    style - custom

    Use custom colors

    iconcolorhover

    string

    #111827

    Icon color on hover

    bordercolor

    string

    #d0d7de

    Border color

    languagebgcolor

    string

    #24292f

    Programming language badge background

    languagetextcolor

    string

    #fff

    Programming language badge text color

    sponsorscolor

    string

    #bf3989

    Sponsors section color

    buttonbgcolor

    string

    #1a7f37

    Button background color

    buttonbgcolorhover

    string

    #2c974b

    Button background color on hover

    buttontextcolor

    string

    #fff

    Button text color

    buttontextcolorhover

    string

    #fff

    Button text color on hover

    showlastupdated

    boolean

    true

    Show the last updated timestamp

    overridebuttonurl

    string

    -

    Custom button URL when override is enabled and buttontype is custom

    sponsorsurloverride

    string

    -

    Override the sponsors URL

    organizationurloverride

    string

    -

    Override the organization URL

    homepageurloverride

    string

    -

    Override the homepage URL

    avatarimageurl

    string

    -

    Override the avatar image URL

    -

    GitHub username or organization name

    repo

    string

    -

    GitHub repository name

    layout

    string

    large

    Card layout style (options: large, card)

    align

    string

    center

    Block alignment (options: center, wide, full)

    horizontalalign

    string

    center

    marginspacing

    string

    none

    Margin spacing style (options: none, compact, comfortable, spacious,extreme)

    marginspacingtarget

    string

    both

    Target for margin spacing (options: both, top, bottom)

    backgroundcolor

    string

    #fff

    Card background color

    textcolor

    string

    #24292f

    Main text color

    iconcolor

    string

    #666

    showtopbar

    boolean

    true

    Show the top information bar

    showauthorbar

    boolean

    true

    Show the author information section

    showstatsbar

    boolean

    true

    buttontype

    string

    github

    Type of button to display (options: github, website, sponsor, download,star, custom)

    overridebutton

    boolean

    false

    Whether to override the default button

    overridebuttontext

    string

    View on GitHub

    nameoverride

    string

    -

    Override the repository name display

    loginoverride

    string

    -

    Override the username display

    versionoverride

    string

    -

    class

    string

    -

    Additional CSS classes for custom styling

    uniqueid

    string

    auto-generated

    Unique identifier for the card needed for custom colors and styles (auto-generated if not provided)

    Horizontal alignment (Options: left, center, right)

    Icon color

    Show the statistics bar (stars, forks, etc.)

    Custom button text when override is enabled

    Override the version information

    GitHub Card With Black & White Theme
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="bw" layout="card"]
    GitHub Large Layout With Dark Theme
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="dark" layout="large"]
    Comfortable Margin with Bottom Spacing
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="dark" layout="large" marginspacing="comfortable" marginspacingtarget="bottom"]
    Custom Style with Custom Background Color
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="custom" layout="large" marginspacing="comfortable" backgroundcolor="#DDD"]
    Shortcode with hiding the top bar
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="purple" layout="large" marginspacing="comfortable" showtopbar="false"]
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="bw" overridebutton="true" overridebuttontext="View" overridebuttonurl="https://dlxplugins.com" buttontype="custom"]
    Name override
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="light" layout="large" marginspacing="comfortable" nameoverride="Highlight and Share"]
    Override the Organization Name
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="light" layout="large" marginspacing="comfortable" loginoverride="DLX Plugins"]
    Override the Avatar
    [github-info-card username="dlxplugins" repo="highlight-and-share" style="light" layout="large" marginspacing="comfortable" loginoverride="DLX Plugins" avatarimageurl="https://secure.gravatar.com/avatar/b1f98471cbb84ddeb26979e992e4492775c4cbd8ee643454790c7a8f42c67e38?s=200&d=mm&r=g"]
    CSS default variables.
    :root {
    	--wppic-gap-sm: 8px;
    	--wppic-gap-md: 16px;
    	--wppic-gap-lg: 24px;
    	--wppic-grid-col-gap: 24px;
    	--wppic-grid-row-gap: 24px;
    }
    :root {
    	--wppic-github-background-color: #fff;
    	--wppic-github-text-color: #24292f;
    	--wppic-github-icon-color: #666;
    	--wppic-github-icon-color-hover: #111827;
    	--wppic-github-border: #d0d7de;
    	--wppic-github-language-bg: #24292f;
    	--wppic-github-language-color: #fff;
    	--wppic-github-sponsors-color: #bf3989;
    	--wppic-github-button-bg: #1a7f37;
    	--wppic-github-button-bg-hover: #2c974b;
    	--wppic-github-button-text-color: #fff;
    	--wppic-github-button-text-color-hover: #fff;
    }