Skip to content

Commit a323927

Browse files
committed
Plugins: update order of home, increase to 6 items/section.
As per: #493. git-svn-id: https://meta.svn.wordpress.org/sites/trunk@14467 74240141-8908-4e6f-9713-ba540dce6ec7
1 parent b1aa1c2 commit a323927

File tree

2 files changed

+6
-6
lines changed
  • wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024

2 files changed

+6
-6
lines changed

wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/build/blocks/front-page/render.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
global $wp_query;
88

99
$sections = array(
10-
'blocks' => __( 'Block-Enabled plugins', 'wporg-plugins' ),
1110
'featured' => __( 'Featured plugins', 'wporg-plugins' ),
1211
'beta' => __( 'Beta plugins', 'wporg-plugins' ),
1312
'favorites' => __( 'My favorites', 'wporg-plugins' ),
1413
'popular' => __( 'Popular plugins', 'wporg-plugins' ),
14+
'blocks' => __( 'Block-Enabled plugins', 'wporg-plugins' ),
1515
);
1616

1717
$widget_args = array(
@@ -35,7 +35,7 @@
3535
$section_args = array(
3636
'post_type' => 'plugin',
3737
'post_status' => 'publish',
38-
'posts_per_page' => 4,
38+
'posts_per_page' => 6,
3939
'browse' => $browse,
4040
);
4141

@@ -144,4 +144,4 @@
144144
),
145145
), $widget_args );
146146
?>
147-
</aside><!-- #secondary -->
147+
</aside><!-- #secondary -->

wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/front-page/render.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
global $wp_query;
88

99
$sections = array(
10-
'blocks' => __( 'Block-Enabled plugins', 'wporg-plugins' ),
1110
'featured' => __( 'Featured plugins', 'wporg-plugins' ),
1211
'beta' => __( 'Beta plugins', 'wporg-plugins' ),
1312
'favorites' => __( 'My favorites', 'wporg-plugins' ),
1413
'popular' => __( 'Popular plugins', 'wporg-plugins' ),
14+
'blocks' => __( 'Block-Enabled plugins', 'wporg-plugins' ),
1515
);
1616

1717
$widget_args = array(
@@ -35,7 +35,7 @@
3535
$section_args = array(
3636
'post_type' => 'plugin',
3737
'post_status' => 'publish',
38-
'posts_per_page' => 4,
38+
'posts_per_page' => 6,
3939
'browse' => $browse,
4040
);
4141

@@ -144,4 +144,4 @@
144144
),
145145
), $widget_args );
146146
?>
147-
</aside><!-- #secondary -->
147+
</aside><!-- #secondary -->

0 commit comments

Comments
 (0)