WP Plugin Info Card

Description

PREMIUM ADD-ON – WP Envato Affiliate Card

Comment fonctionne WPPIC ?

WP Plugin Info Card lets you display plugins & themes identity cards in a beautiful box with a smooth 3D rotation effect, or in a more large and responsive layout.

It uses WordPress.org plugins API & themes API to fetch data. All you need to do is provide a valid plugin/theme ID (slug name), and then insert the shortcode in any page to make it work at once!

This plugin is very light and includes scripts and CSS only if and when required (you can force scripts enqueuing in admin settings). The shortcode may be added anywhere shortcodes are supported within your theme.

The plugin also uses WordPress transients to store data returned by the API for 12 hours (720min by default), so your page loading time will not be increased due to too many requests.

The dashboard widget is very easy to set up: you simply add as many plugins and themes as you want in the admin page and they become visible in your dashboard. Fields are added on-the-fly and are sortable via drag-and-drop.

It is perfect to keep track of your own plugins!

This plugin uses the TinyMCE API to improve UI and make inserting shortcodes easier!

Please ask for help or report bugs if anything goes wrong. It is the best way to make the community benefit!

CHECK OUT THE DEMO

[wp-pic] Shortcode parameters

  • type: plugin, theme (default: plugin)
  • slug: plugin slug name – Please refer to the plugin/theme URL on wordpress.org to determine its slug: https://wordpress.org/plugins/THE-SLUG/
  • layout: template layout to use – Default is « card » so you may leave this parameter empty. Available layouts are: card, large & wordpress (default: empty)
  • scheme: card color scheme: scheme1 to scheme10 (default: default color scheme defined in admin)
  • image: image url to replace the default image or logo(default: empty)
  • align: center, left, right (default: empty)
  • containerid: custom div id, may be used for anchor (default: wp-pic-PLUGIN-NAME)
  • margin: custom container margin – eg: « 15px 0 » (default: empty)
  • clear: clear float before or after the card: before, after (default: empty)
  • expiration: cache duration in minutes – numeric format only (default: 10)
  • ajax: load the plugin data asynchronously with AJAX: yes, no (default: no)
  • custom: value to display: (default: empty)
    • 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

Examples

The slug is the only required parameter for plugin. You have to set the « type » parameter for themes : type= »theme »
[wp-pic slug= »wp-plugin-info-card »]

[wp-pic type="theme" slug="zerif-lite" align="right" expiration="60" ajax="yes"]

[wp-pic slug="adblock-notify-by-bweb" layout="large" scheme="scheme1" align="right" margin="0 0 0 20px" containerid="download-sexion" ajax="yes"]

[wp-pic slug="wp-plugin-info-card" custom="name" ] has been downloaded [wp-pic slug="wp-plugin-info-card" custom="downloaded" ] times!

FULL DOCUMENTATION AND EXAMPLES

[wp-pic-query] Query shortcode parameters – NEW (added in 2.5)

  • search: A search term. Default empty.
  • tag: Tag to filter themes/plugins. Comma separated list. Default empty.
  • author: Username of an author to filter themes/plugins. Default empty.
  • user: Username to query for their favorites. Default empty.
  • browse: Browse view: ‘featured’, ‘popular’, ‘updated’, ‘favorites’.
  • per_page: Number of themes/plugins per query (page). Default 24.
  • cols: Columns layout to use: ‘2’, ‘3’. Default empty (none).

Then use the [wp-pic] shortcode parameters

Examples

Plugin by author (automattic) limit to 6 items with a two columns render
[wp-pic-query author= »automattic » per_page= »6″ type= »plugin » layout= »wordpress » align= »center » ajax= »yes » cols= »2″]

Plugin by user favorits collection limit to 4 with a two columns render
[wp-pic-query user= »briKou » per_page= »4″ type= »plugin » layout= »wordpress » align= »center » ajax= »yes » cols= »2″]

Popular plugins limit to 6 items with whitout column
[wp-pic-query browse= »popular » per_page= »6″ type= »plugin » layout= »card » align= »left » margin= »1rem » ajax= »yes » cols= »1″]

Themes by author (wordpressdotorg) with a two columns render
[wp-pic-query author= »wordpressdotorg » per_page= »2″ type= »theme » layout= »card » align= »center » clear= »after » ajax= »yes » cols= »2″]

Themes by tags (dark & four-columns) limit to 4 items with a two columns render
[wp-pic-query tag= »dark,four-columns » per_page= »4″ type= »theme » layout= »wordpress » align= »center » ajax= »yes » cols= »2″]

Themes by tag (buddypress) limit to 2 items without columns
[wp-pic-query tag= »buddypress » per_page= »2″ type= »theme » layout= »large » align= »center » align= »center »]

Themes by search term limit to 4 items with a two columns render
[wp-pic-query search= »cool » per_page= »4″ type= »theme » layout= »wordpress » align= »center » ajax= »yes » cols= »2″]

FULL DOCUMENTATION AND EXAMPLES

Other features

  • You can provide a list of slugs (comma-separated) in your shortcode slug parameter, WPPIC will randomly choose one item from the list on each page refresh.
  • You cane asily overload the plugin rendering. You need to create a new « wppic-templates » folder into your theme folder, then copy the template you want to overload from the WP Plugin Info Card « wppic-templates » folder.
  • You can create your own template file. You need to create a new « wppic-templates » folder into your theme folder, then copy the template file « wppic-template-plugin-large.php » or « wppic-template-theme-large.php » from the WP Plugin Info Card ‘/wppic-templates’ folder. Rename the file as « wppic-template-plugin-NEWTEMPLATE.php » or « wppic-template-theme-NEWTEMPLATE.php », edit it as you go, and add your own CSS rules. Finally, call your new template by adding the following parameter in your shortcode: layout= »NEWTEMPLATE »

Langues

Become a translator and send me your translation! Contact-me

Captures d’écran

  • Carte d’identité d’extension
  • Page d’administration
  • Widget de Tableau de bord
  • Générateur de code court
  • Bouton de code court
  • Un autre exemple avec un thème (dos de carte), une extension avec une icône personnalisée, une extension sans icône (logo par défaut de WordPress)
  • Theme with the large layout
  • Plugin with the large layout
  • Plugin with the large layout in the sidebar
  • WordPress layout with a plugin card
  • WordPress layout with themes and 2 columns

Installation

  1. Upload and activate the plugin (or install it through the WP admin console)
  2. Click on the « WP Plugin Info Card » sub-menu
  3. Follow instructions, every option is documented 😉

FAQ

Is the card-flipping effect cross-browser compatible?

Yes, it is compatible with most recent browsers, except for Opera (but IE10+ works!)

Avis

Very good

If you need to show some data about WP plugins, it’s a very good solution with a nice output and some useful functions.

Thanks for making such awesome plugin

I’m truly thankful to you for making such an awesome looking plugin. Please don’t let this plugin to die without any update or patches. I personally think you should release a pro version of this plugin over codecanyon. As a developer myself I know how hard it is to spend time for free plugins. If you make a pro version of this plugin, I would be more than happy to buy it.

Also after playing with this plugin a bit I will send you a donation (if you accept that) for keep updating this awesome plugin and not let it die. Please keep this plugin updated with new patch or release a paid version. 🙂

Keep up the good work brother.

Amazing!

very handy and cool style! Like it! At least a widget would be nice.

Excellent plugin, but…

The plugin is excellent, works well and has a cool look, it has a flaw, in my use case.

It doesn’t support tags. You have to know in advance the details of the plugin/theme you want to display.

I want to display pages of plugins and themes, and filter them according to their tags.

Super Useful

Does a simple job really well – saved us tons of time setting up our own repository on Archiblogs. Having live info like this about themes and plugins would take us ages to develop so we’re really happy this plugin makes it so simple for us.

Lire les 19 avis

Contributeurs & développeurs

« WP Plugin Info Card » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“WP Plugin Info Card” a été traduit dans 1 locale. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « WP Plugin Info Card » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

2.5.2 – 03/31/2017

  • Tested on WP 4.7.3 with success!
  • Fix broken image URLs after plugins directory update

2.5.1 – 11/03/2016

  • French translation update (thanks to @wolforg)
  • Change text-domain to take advantage of language packs translate.wordpress.org

2.5 – 08/19/2016

  • New: Add « WordPress » layouts for plugins and themes
  • New: Add the ability to use custom queries to retrieve plugins & themes by tags, author, etc. (new shortcode: wp-pic-query)
  • New: The new shortcode wp-pic-query is able to output items in a grid system (1, 2 or 3 cols).
  • New: use wppic_api_query hook to perform query customization
  • New: use wppic_query_content to filter what wp-pic-query shortcode returns
  • Fix translations + add new string to translations files
  • Fix live preview URL for themes
  • Fix typo on themes layouts
  • Fix a warning in the theme large layout
  • Improve API parser (store more data from the API). Eg: active installs, description
  • Improve CSS
  • Improve register_activation_hook and register_uninstall_hook call for better performance
  • Enqueue minified CSS (forget in the previous version)
  • Update french translation
  • Tested on WP 4.6 with success!

2.4.3 – 12/14/2015

  • Fix an issue on options save in the admin page
  • Tested on WP 4.4.2 with success!

2.4.2 – 12/14/2015

  • Make the shortcode_atts_wppic_default hook available thanks to the shortcode_atts() third parameter
  • Fix a minor CSS bug on the large layout height reported by @posykrat: https://wordpress.org/support/topic/height-100-for-large-display
  • Best compliance with WordPress coding standards
  • New WPPIC_VERSION constant. Will ease improving refresh browser caching after plugin updates (mainly on CSS and JS files)…

2.4.1 – 10/09/2015

  • Replace jQuery live() function by on() function to prevent JS error (fix an issue with Visual composer)

2.4 – 08/25/2015

  • Tested on WP 4.3 with success!

2.3.9

  • Fix a PHP warning using is_wp_error if plugin or theme slug does not exists
  • Fix a JS bug on the preview card when changing the color sheme on the fly
  • Minor CSS fix in the admin with WP 4.2 (.card class is now used by the core in admin)
  • Tested on WP 4.2 with success!
  • Maj du readme.txt

2.3.8

  • Serbo-Croatian translation by Andrijana Nikolic from Web Hosting Geeks
  • Targeting user appreciation links to 5 stars 🙂
  • Replace the credit’s link target with the plugin’s documentation english page

2.3.7

  • French translation updated
  • New option added to ask for displaying the credit on cards.
  • Security issue fix thanks to Julio Potier 🙂

2.3.6

  • Minor CSS fix – max-with 100% for large layout image
  • Use PNG icon as SVG fallback on the visual editor button

2.3.5

  • Change « Download » into « More info » on card layout
  • Maj des traductions

2.3.4

2.3.3

  • Minor security improvements
  • Minor CSS fix on dashboard widget
  • Purge transients on plugin activation/updates

2.3.2

  • Fix date format on dashboard widget
  • Date internationalization
  • Templates update for better date support

2.3.1

  • Minor PHP improvements
  • Check if Memcache is loaded to prevent unncessary db request during transients purge
  • Template update – differents links added on icons
  • Remove logo from meta
  • Minor CSS updates

2.3

  • PHP fixes on admin error
  • Better performance – options stored in a global var (less db requests)
  • Relief of admin page functions (more maintainable)
  • FR Translation fixes – backslash issues

2.2.1

  • New hook added
  • Maj du readme.txt

2.2

  • Total re-factoring of the plugin core files and structures
  • Many hooks added
  • CSS updates and fixes
  • Translation update
  • PHP fixes
  • Fixed issue on Widget cache duration (5min)
  • Random slug from slugs list (comma-separated)
  • Large layout template added
  • Color scheme and layout parameters added to WYSIWYG UI
  • Custom template layout support
  • Better scripts enqueuing (new action)
  • New option to force scripts enqueuing
  • Tested on WP 4.1 with success!
  • New screenshots
  • Maj du readme.txt
  • Special thanks to Hugh Lashbrooke for his help in improving the plugin 🙂

2.1

  • Many hooks added
  • More clean code and template render
  • Clear cache button in admin
  • CSS updates and fixes
  • Translation update
  • PHP fixes
  • Remove ugly paypal donate button in admin
  • Random slug from slugs list (comma-separated)
  • Large layout template added

2.0.1

  • SVG logo in admin menu (base64 encoded)
  • Improvement of theme & plugin template
  • PHP fix
  • Square image for themes card
  • Maj du readme.txt

2.0

  • Media upload in TinyMCE ui modal for default thumb
  • Introduction of card template (beta)
  • Theme API added + new template
  • Using WordPress native functions to fetch data from API, including icon and banner
  • Remove banner + logo parameters
  • Many PHP bug fixes
  • Js improvement (better ui)
  • CSS improvement (better ui)
  • Widget improvement fot plugins+theme display
  • Set transient default lifetime to 720 (before 10)
  • Specifice transient for widget (10 min)
  • Translation string added
  • Form validation in TinyMCE ui modal
  • New admin options for theme API
  • Maj du readme.txt

1.7

  • New option for color scheme
  • New param for color scheme
  • Minor CSS improvements
  • 10 new colors schemes/skins

1.6.2

  • Polish translation by Kuba Mikita
  • Widget UI translation
  • Plugin meta translation

1.6.1.1

  • Logo on plugin directory list
  • Remove unnecessary files from trunk

1.6.1

  • New logo
  • Minor CSS fixes
  • Admin + widget minor updates

1.6

  • New param added to ajaxify the card
  • Fix minor php issue
  • Improve dashboard widget ajax function.
  • New admin option to activate or deactivate ajax on widget
  • Minor CSS fixes and improvement
  • Now use minify css and scripts un front
  • Added error message when slug is wrong or plugin offline
  • readme.txt update + admin page documentation update

1.5

  • Shortcode may now be displayed everywhere in the page (content/widget) because JS & CSS are loaded via a global var.
  • Ajaxify dashboard widget.
  • Fix bug on saving empty plugin list with deactivated dashboard widget
  • New param added to specify transient life time
  • Daily cron added to purge transients

1.04

  • Fix on foreach. Related topic: https://wordpress.org/support/topic/errors-on-saving-dashboard-widget?replies=5#post-6197891

1.03

  • Fix on widget if plugin list is empty

1.02

  • Typo fix.
  • PHP fix if no plugin slug is set during options updates
  • CSS fix for transparent logos
  • Fix if required version already includes ‘WP’
  • Now translatable + add French translation
  • Update readme.txt

1.01

  • Typo fix.
  • Add link to admin page
  • Update readme.txt

1.0

  • First release.