+ <>
+ { ! isSponsor && (
+ <>
+ { __( 'Sponsor Display Overrides', 'newspack-sponsors' ) }
+
+
+ { __(
+ 'The following settings optionally override the settings of assigned sponsors.',
+ 'newspack-sponsors'
+ ) }
+
+
+ >
+ ) }
updateMetaValue( 'newspack_sponsor_sponsorship_scope', value ) }
help={ __(
'Generally, native content is authored by the sponsor, while underwritten content is authored by editorial staff but supported by the sponsor. This option allows you to select a different visual treatment for native vs. underwitten content.',
'newspack-sponsors'
) }
/>
- updateMetaValue( 'newspack_sponsor_url', value ) }
- />
- updateMetaValue( 'newspack_sponsor_flag_override', value ) }
- />
- updateMetaValue( 'newspack_sponsor_disclaimer_override', value ) }
- />
- updateMetaValue( 'newspack_sponsor_byline_prefix', value ) }
- />
- updateMetaValue( 'newspack_sponsor_only_direct', value ) }
- />
-
+ { ( 'native' === newspack_sponsor_sponsorship_scope ||
+ ( isSponsor && ! newspack_sponsor_sponsorship_scope ) ||
+ ! isSponsor ) && (
+ <>
+