Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Easy Digital Downloads – Blocks

Description

EDD Blocks ajoute un bloc des «Téléchargements» pour le nouvel éditeur de WordPress, aussi appelé Gutenberg.

Le bloc des téléchargements vous permet d’afficher une grilles des téléchargements sur votre site similaire au code court [downloads] fourni par Easy Digital Downloads. Le bloc des téléchargements fournit une représentation visuelle de vos téléchargements, vous permettant de voir un aperçu en temps réel de vos téléchargements quand vous configurez les différents réglages.

En plus de pouvoir afficher les téléchargements, une grille des catégories ou des étiquettes des téléchargements peut être affichée.

Requirements

Features

Display a grid of Downloads

  1. Set how many downloads should show per page
  2. Set how many columns of downloads should show
  3. Show or hide the buy button
  4. Show or hide the price
  5. Show or hide thumbnail images
  6. Show or hide the excerpt
  7. Show or hide the full content
  8. Show or hide the pagination
  9. Order downloads by « Date Created », « Earnings », « ID », « Price », « Random », « Sales », « Slug » or « Title »
  10. Order downloads in an « Ascending » or « Descending » order
  11. Show downloads from a specific category

Display a grid of Download Categories

  1. Set how many columns of download categories should show
  2. Show or hide download category thumbnail images
  3. Show or hide download category names
  4. Show or hide download category descriptions
  5. Show or hide download category counts
  6. Show or hide empty download categories
  7. Order download categories by « Count », « ID », « Name » or « Slug »
  8. Order download categories in an « Ascending » or « Descending » order

Display a grid of Download Tags

  1. Set how many columns of download tags should show
  2. Show or hide download tag thumbnail images
  3. Show or hide download tag names
  4. Show or hide download tag descriptions
  5. Show or hide download tag counts
  6. Show or hide empty download tags
  7. Order download tags by « Count », « ID », « Name » or « Slug »
  8. Order download tags in an « Ascending » or « Descending » order

Shortcodes

Gutenberg also provides a shortcode block so we’ve added a [download_categories] and [download_tags] shortcode. Each shortcode shares the same attributes, mimicking the options of the Downloads block:

thumbnails

true (default) | false

Whether or not to show the thumbnail image.

title

true (default) | false

Whether or not to show the category or tag name.

description

true (default) | false

Whether or not to show the category or tag description.

show_empty

true | false (default)

Whether or not to show empty terms.

columns

1 | 2 | 3 (default) | 4 | 5 | 6

The number of columns.

count

true (default) | false

Whether or not to show the number of downloads in each term.

orderby

count (default) | id | name | slug

What to order the terms by.

order

ASC | DESC (default)

Dans quel ordre afficher les termes.

Exemples de codes courts

[download_categories count= »false » orderby= »name » order= »ASC » title= »false » columns= »4″]

[download_tags orderby= »id » order= »DESC » columns= »2″]

Captures d’écran

  • The Downloads block and its settings

Blocs

Cette extension fournit 1 bloc.

  • Easy Digital Downloads - Blocks

Installation

  1. Décompressez tout le contenu de ce fichier zip d’extension dans votre dossier wp-content/plugins/ local
  2. Téléverser sur votre site
  3. Naviguez vers wp-admin/plugins.php sur votre site (votre page d’administration WP de l’extension)
  4. Activer cette extension

OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin’s name

FAQ

Comment ajouter des images aux catégories de téléchargement et aux étiquettes de téléchargement ?
  1. Click either « Categories » or « Tags » from the Downloads section in the WordPress sidebar
  2. Click the « Edit » link on the category or tag you wish to add an image to
  3. At the bottom of the edit screen, click « Choose Image » in the « Image » section
  4. Sélectionnez une image et cliquez sur « Définir comme image ».
  5. Cliquez sur « Mettre à jour »
Puis-je changer la couleur du bouton d’achat ?

Yes, the purchase button color can be changed from Downloads → Settings → Styles. Simply change the « Default Button Color » to a color of your choosing and save.

Avis

5 avril 2019
Such a great extension, it will greatly simplify your life with basic features you need such as sorting by price, how many products per column and show or not show a short description. Thank you to the developers!!
Lire l’avis

Contributeurs/contributrices & développeurs/développeuses

« Easy Digital Downloads – Blocks » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Easy Digital Downloads – Blocks” a été traduit dans 1 locale. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Easy Digital Downloads – Blocks » 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

1.0.1

  • Fix: Undefined index PHP notices could be triggered during block updates

1.0

  • Initial release