-
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] pulling in the created pages into the new nav
- Loading branch information
1 parent
93b801e
commit 60eaf24
Showing
8 changed files
with
72 additions
and
97 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
client-mu-plugins/goodbids/blocks/nonprofit-navigation/render.php
This file was deleted.
Oops, something went wrong.
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
14 changes: 14 additions & 0 deletions
14
client-mu-plugins/goodbids/views/parts/nonprofit-navigation.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,14 @@ | ||
<?php | ||
/** | ||
* Links for displaying the navigation | ||
* | ||
* @var array $nav_links | ||
* | ||
* @since 1.0.0 | ||
* @package GoodBids | ||
*/ | ||
?> | ||
|
||
<?php foreach ( $nav_links as $nav_link ) : ?> | ||
<!-- wp:navigation-link {"label":"<?php echo esc_attr( $nav_link->post_title ); ?>","type":"<?php echo esc_attr( $nav_link->post_type ); ?>","id":<?php echo esc_attr( $nav_link->ID ); ?>,"url":"/<?php echo esc_attr( $nav_link->post_name ); ?>","kind":"post-type"} /--> | ||
<?php endforeach; ?> |
17 changes: 0 additions & 17 deletions
17
client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php
This file was deleted.
Oops, something went wrong.
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