bobbingwide / sb-children-block

List children of the current content as links.
2 stars 0 forks source link

SB Children block

banner

List children of the current content as links.

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.

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.

Frequently Asked Questions

What are the values for the depth parameter?

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

What if my first language is not English?

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

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.

Screenshots

  1. Children block depth=0
  2. Children block depth=1
  3. Children block depth=2
  4. Children block depth=-1

Upgrade Notice

1.2.3

Upgrade for support for PHP 8.1 and PHP 8.2. Tested with WordPress 6.4-RC1 and Gutenberg 16.8.1

Changelog

1.2.3