Skip to content

Commit

Permalink
Merge pull request #50 from newfold-labs/enhance/wonder-blocks-priori…
Browse files Browse the repository at this point in the history
…tization

Sitegen: Wonder Blocks Fixes and Prioritization
  • Loading branch information
officiallygod authored Feb 21, 2024
2 parents f77067d + 45c9361 commit 99d00f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/Services/SiteGenService.php
Original file line number Diff line number Diff line change
Expand Up @@ -679,11 +679,12 @@ public static function filter_wonder_blocks_templates_transient( $value ) {
}

foreach ( $homepages as $index => $data ) {
array_push(
array_unshift(
$value,
array(
'id' => $data['slug'],
'slug' => $data['slug'],
'title' => $data['slug'],
'description' => $data['slug'],
'content' => $data['content'],
'categories' => array( 'home', 'featured' ),
Expand Down

0 comments on commit 99d00f8

Please sign in to comment.