'9539',
'slug' => 'broadcast-lite',
'premium_slug' => 'broadcast-pro',
'type' => 'theme',
'public_key' => 'pk_a149fe038fa2453666fe235168f81',
'is_premium' => false,
'premium_suffix' => 'Pro',
// If your theme is a serviceware, set this option to false.
'has_premium_version' => true,
'has_addons' => true,
'has_paid_plans' => true,
'menu' => array(
'slug' => 'broadcast',
'support' => false,
)
) );
}
return $bro_fs;
}
// Init Freemius.
bro_fs();
// Signal that SDK was initiated.
do_action( 'bro_fs_loaded' );
}
// Theme Setup
function broadcast_setup() {
register_nav_menus( array(
'main-navigation' => 'Main Navigation',
'footer-navigation' => 'Footer Navigation',
) );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'automatic-feed-links' );
add_theme_support( 'title-tag' );
add_theme_support( 'wp-block-styles' );
add_theme_support( 'align-wide' );
add_theme_support( 'responsive-embeds' );
add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption' ) );
// Define image sizes here for auto-cropping
}
function broadcast_menu() {
add_menu_page(
'Broadcast',
'Broadcast Theme',
'manage_options',
'broadcast',
'broadcast_options',
get_template_directory_uri().'/img/weasels-icon.png'
);
}
add_action( 'admin_menu', 'broadcast_menu' );
function broadcast_options() {
if (in_array('one-click-demo-import/one-click-demo-import.php', apply_filters('active_plugins', get_option('active_plugins')))){
$oneClickDemoStatus = 'Installed!';
} else {
$oneClickDemoStatus = 'Not Installed!';
} ?>
Welcome to Broadcast Lite'; ?>
'; ?>
Thanks for trying out Broadcast Lite! Below you can find some quick links to some of our documentation to get started with your new theme.'; ?>
Get started with a One Click Demo Import'; ?>
One Click Demo Status - '.$oneClickDemoStatus.''; ?>
The easiest way to get started with Broadcast Lite is to start with one of our demos. Follow these steps to get started with one of our Broadcast Lite demos:'; ?>
'; ?>
You can install one of our demo sites using the
One Click Demo plugin. You can install that plugin by
clicking here.'; ?>
With One Click Demo installed, you can navigate to
Appearance -> Broadcast Demo Import to get started.'; ?>
'; ?>
Upgrade to Broadcast PRO'; ?>
Broadcast PRO takes Broadcast to the next level:'; ?>
'; ?>
Over 50 customisation options.'; ?>
Complete control over colors, fonts and titles.'; ?>
Layout options allow you to hide sections.'; ?>
Advanced scheduling, countdown to different stream times each day.'; ?>
Invite to our private Discord server for premium, real-time support.'; ?>
'; ?>
Unlock Broadcast PRO for as little as $59'; ?>
More StreamWeasels Themes & Plugins'; ?>
For over 5 years, StreamWeasels have been helping thousands of WordPress websites display Twitch and YouTube streams in their WordPress websites.'; ?>
'; ?>
StreamWeasels Twitch Integration - the latest and greatest plugin from StreamWeasels that takes Twitch Integration to the next level.'; ?>
Ultima Gaming - highly-rated, ultra-flexible Gaming WordPress theme, built for Streamers, esports, gamers, teams, clans and guilds.'; ?>
Broadcast PRO - take Broadcast to the next level.'; ?>
'; ?>
Quick Links'; ?>
'; ?>
WordPress Basics'; ?>
Twitch and YouTube Integration'; ?>
How do I customize Broadcast Lite?'; ?>
How do I use the Block Editor with Broadcast?'; ?>
'; ?>