Skip to content

Commit d5b59c2

Browse files
committed
Simplify component generation; define default style
1 parent 623fab2 commit d5b59c2

File tree

7 files changed

+77
-568
lines changed

7 files changed

+77
-568
lines changed

admin/settings/class-admin-apple-settings-section-advanced.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ public function __construct( $page ) {
6666
'description' => __( 'If you have configured an In Article module via Customize JSON, the position that the module should be inserted into. Defaults to 3, which is after the third content block in the article body (e.g., the third paragraph).', 'apple-news' ),
6767
],
6868
'aside_component_class' => [
69-
'label' => __( 'Aside Component CSS Class', 'apple-news' ),
69+
'label' => __( 'Aside Content CSS Class', 'apple-news' ),
7070
'type' => 'text',
71-
'description' => __( 'Enter an optional CSS class that will be used to generate the Aside component. Do not prefix with a period.', 'apple-news' ),
71+
'description' => __( 'Enter a CSS class name that will be used to generate the Aside component. Do not prefix with a period.', 'apple-news' ),
7272
],
7373
];
7474

@@ -87,7 +87,7 @@ public function __construct( $page ) {
8787
'settings' => [ 'html_support', 'in_article_position' ],
8888
],
8989
'aside' => [
90-
'label' => __( 'Aside Component Settings', 'apple-news' ),
90+
'label' => __( 'Aside Component', 'apple-news' ),
9191
'settings' => [ 'aside_component_class' ],
9292
]
9393
];

0 commit comments

Comments
 (0)