HEX
Server: Apache
System: Linux main79 6.1.0-52-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.180-1 (2026-08-03) x86_64
User: serwer143450 (7544)
PHP: 7.4.33
Disabled: opcache_reset, opcache_invalidate, opcache_compile_file, opcache_get_configuration, opcache_get_status
Upload Files
File: /home/platne/serwer143450/public_html/energix/wp-content/themes/empovver/child/inc/blog-options.php
<?php

function empower_add_style_controls() {
	$priority = 2;
	$section  = 'blog_settings';

	mesmerize_add_kirki_field( array(
		'type'     => 'checkbox',
		'label'    => esc_html__( 'Show author bio in sidebar', 'empowerwp' ),
		'section'  => $section,
		'priority' => $priority,
		'settings' => "blog_sidebar_author_bio",
		'default'  => true,
	) );
}

empower_add_style_controls();

function empower_blog_sidebar_author_bio_filter( $value ) {

	$value = get_theme_mod( 'blog_sidebar_author_bio', $value );

	return $value;
}

add_filter( 'empower_blog_sidebar_author_bio', 'empower_blog_sidebar_author_bio_filter' );