SB Children block

Description

Use the Children block ( oik-sb/children ) to list children of the current content as links.
Works for any hierarchical post type which supports page-attributes, such as page.

Captures d’écran

  • Children block depth=0
  • Children block depth=1
  • Children block depth=2
  • Children block depth=-1

Blocs

Cette extension fournit 1 bloc.

  • Children List children of the current content as links.

Installation

  1. Upload the plugin files to the /wp-content/plugins/sb-children-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

OR

With the authority to install plugins:

  1. In the block editor, open the block inserter.
  2. Search for the block by typing ‘Children’.
  3. Click on the ‘Add block’ button for the SB Children block.
  4. The SB Children block plugin will be installed and activated.
  5. And the block will be inserted into your content.

FAQ

What are the values for the depth parameter?

  • Value – Meaning
  • 0 – Display all descendents in a tree
  • 1 – Display Children only
  • 2 – Display Children and Grandchildren
  • n – Display n levels of descendents
  • -1 – Display all descendents in a single list

What do I need to search for to find the block?

You can try typing the following strings to find the block: c, ch, chi, chil, child, childr, childre and children.
You may also get results by typing the keywords: Child list, Descendents and Tree.

What if my first language is not English?

If your first language is not English then you could try:

  • French – enfants
  • German – Kinder
  • Dutch – Kinderen
  • Italian – la prole
  • Spanish – niñas or niños

Do I need to build this block?

No. The plugin is delivered with the production version of the block.
If you do wish to modify the code then you can find instructions in the src folder.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« SB Children block » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“SB Children block” a été traduit dans 3 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « SB Children block » 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.2.3

  • Changed: Support PHP 8.1 and PHP 8.2 #23
  • Tested: With WordPress 6.4-RC1 and WordPress Multisite
  • Tested: With Gutenberg 16.8.1
  • Tested: With PHP 8.0, PHP 8.1 and PHP 8.2
  • Tested: With PHPUnit 9.6