mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-15 06:45:47 +03:00
New blocks: Add blocks for the pledge contributors & pledge teams lists
This commit is contained in:
parent
cbabdbb33e
commit
b22bde9415
13 changed files with 1030 additions and 9 deletions
20
themes/wporg-5ftf-2024/src/pledge-contributors/index.php
Normal file
20
themes/wporg-5ftf-2024/src/pledge-contributors/index.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
/**
|
||||
* Block Name: Pledge contributors
|
||||
* Description: List out the contributors for this organization's pledge.
|
||||
*
|
||||
* @package wporg
|
||||
*/
|
||||
|
||||
namespace WordPressdotorg\Theme\FiveForTheFuture_2024\Pledge_Contributors;
|
||||
|
||||
defined( 'WPINC' ) || die();
|
||||
|
||||
add_action( 'init', __NAMESPACE__ . '\init' );
|
||||
|
||||
/**
|
||||
* Register the block.
|
||||
*/
|
||||
function init() {
|
||||
register_block_type( dirname( __DIR__, 2 ) . '/build/pledge-contributors' );
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue