mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-16 07:15:43 +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-teams/index.php
Normal file
20
themes/wporg-5ftf-2024/src/pledge-teams/index.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
/**
|
||||
* Block Name: Pledge teams
|
||||
* Description: List out the teams supported by this organization's pledge.
|
||||
*
|
||||
* @package wporg
|
||||
*/
|
||||
|
||||
namespace WordPressdotorg\Theme\FiveForTheFuture_2024\Pledge_Teams;
|
||||
|
||||
defined( 'WPINC' ) || die();
|
||||
|
||||
add_action( 'init', __NAMESPACE__ . '\init' );
|
||||
|
||||
/**
|
||||
* Register the block.
|
||||
*/
|
||||
function init() {
|
||||
register_block_type( dirname( __DIR__, 2 ) . '/build/pledge-teams' );
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue