-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#495] Setting up basic test with nav links
- Loading branch information
1 parent
52b117c
commit fd0464a
Showing
5 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "nonprofit-navigation", | ||
"title": "Nonprofit Navigation", | ||
"description": "Displays the Nonprofit Navigation", | ||
"icon": "admin-links", | ||
"textdomain": "goodbids", | ||
"acf": { | ||
"mode": "preview" | ||
}, | ||
"supports": { | ||
"jsx": false | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* Nonprofit Navigation Block | ||
* | ||
* @since 1.0.0 | ||
* | ||
* @package GoodBids | ||
*/ | ||
|
||
namespace GoodBids\Blocks; | ||
|
||
use GoodBids\Plugins\ACF\ACFBlock; | ||
|
||
|
||
/** | ||
* Class for Nonprofit Navigation Block | ||
* | ||
* @since 1.0.0 | ||
*/ | ||
class NonprofitNavigation extends ACFBlock { | ||
|
||
|
||
} |
15 changes: 15 additions & 0 deletions
15
client-mu-plugins/goodbids/blocks/nonprofit-navigation/render.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* Block: Nonprofit Navigation | ||
* | ||
* @global array $block | ||
* | ||
* @since 1.0.0 | ||
* @package GoodBids | ||
*/ | ||
|
||
?> | ||
<!-- wp:navigation --> | ||
<!-- wp:navigation-link {"label":"About GOODBIDS","type":"page","id":3,"url":"/about","kind":"post-type"} /--> | ||
<!-- wp:navigation-link {"label":"Explore Auctions","type":"page","id":4,"url":"/explore-auctions/","kind":"post-type"} /--> | ||
<!-- /wp:navigation --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters