New: JobCore, the complete job board, is now free
Xolius

Jump to

For developers

Working with the child theme and extending News.

1 min read · Updated October 3, 2026

Use the child theme for changes. Template parts are loaded with get_template_part(), so a copy in the child theme overrides the original. Useful filters:

Filter Purpose
news_has_premium Grant Premium access, e.g. from a membership plugin: add_filter( 'news_has_premium', fn( $has, $user_id ) => $has || my_member_is_active( $user_id ), 10, 2 );
news_premium_plans / news_premium_url The plans on the paywall and Premium page / where Premium buttons go.
news_ads_active Turn ads off for specific requests.
news_ad_sizes / news_ad_creative Ad sizes / the creative of any slot (e.g. your own ad server).
news_gam_sizes / news_ads_txt Ad Manager size mapping / ads.txt content.
news_home_section_args Change the arguments of any front-page section.
news_home_partner_items Replace the “More from the web” links (empty array hides the block).
news_breadcrumb_trail Change the breadcrumb trail.
news_design_styles / news_design_style_presets Add design styles and their colors / fonts.
news_font_library Add fonts to the font lists.
news_story_fields Add fields to the Story settings box.
news_core_push_payload Change push notifications before they are sent.
news_core_elementor_blocks Which blocks are offered as Elementor widgets.
news_option_schema Add your own settings sections (Customizer + News. panel).
news_account_newsletters / news_core_contact_desks / news_weather_cities Newsletters readers can choose / contact form recipients / weather cities.
news_js_i18n Texts used by the theme scripts.