You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'description' => __( 'If a post has a component that is unsupported by Apple News, choose "none" to generate no alert, "warn" to provide an admin warning notice, or "fail" to generate a notice and stop publishing.', 'apple-news' ),
'description' => __( 'Allow the Apple News API to retrieve images remotely rather than bundle them. This setting is recommended if you are having any issues with publishing images. If your images are not publicly accessible, such as on a development site, you cannot use this feature.', 'apple-news' ),
'description' => __( 'If set to yes, images that are centered or have no alignment will span edge-to-edge rather than being constrained within the body margins.', 'apple-news' ),
'description' => __( 'If set to yes, any image, video, or other content selected as an article\'s Cover Media will not appear again in the article body in Apple News.', 'apple-news' ),
54
+
],
55
+
'html_support' => [
51
56
'label' => __( 'Enable HTML support?', 'apple-news' ),
52
57
'type' => [ 'yes', 'no' ],
53
58
'description' => sprintf(
@@ -57,26 +62,26 @@ public function __construct( $page ) {
57
62
'</a>'
58
63
),
59
64
],
60
-
'in_article_position' => [
65
+
'in_article_position'=> [
61
66
'label' => __( 'Position of In Article Module', 'apple-news' ),
62
67
'type' => 'number',
63
68
'min' => 3,
64
69
'max' => 99,
65
70
'step' => 1,
66
71
'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' ),
'description' => __( 'Enter a CSS class name that will be used to generate the Aside component. Do not prefix with a period.', 'apple-news' ),
72
77
'required' => false,
73
78
],
74
-
'excluded_selectors' => [
79
+
'excluded_selectors'=> [
75
80
'label' => __( 'Selectors', 'apple-news' ),
76
81
'type' => 'text',
77
-
'size' => 150,
82
+
'size' => 100,
78
83
'description' => sprintf(
79
-
/* translators: %s: <code> tag */
84
+
/* translators: %s: <code> tag */
80
85
__( 'Enter a comma-separated list of CSS class or ID selectors, like %s. Elements in post content matching these selectors will be removed from the content published to Apple News.', 'apple-news' ),
81
86
'<code>.my-class, #my-id</code>',
82
87
),
@@ -94,6 +99,10 @@ public function __construct( $page ) {
0 commit comments