selective_refresh ) ? 'postMessage' : 'refresh';
$wp_customize->add_setting(
'aasta_footer_copright_text',
array(
'sanitize_callback' => 'architect_studio_sanitize_text',
'default' => __('Copyright © 2025 | Powered by WordPress | Architect Studio theme by ThemeArile', 'architect-studio'),
'transport' => $selective_refresh,
)
);
$wp_customize->add_control('aasta_footer_copright_text', array(
'label' => esc_html__('Footer Copyright','architect-studio'),
'section' => 'aasta_footer_copyright',
'priority' => 10,
'type' => 'textarea'
));
}
add_action( 'customize_register', 'architect_studio_customizer_theme_settings' );
function architect_studio_sanitize_text( $input ) {
return wp_kses_post( force_balance_tags( $input ) );
}
/**
* Menu
*/
function architect_studio_custom_menu_script()
{
$custom_logo = get_theme_mod( 'custom_logo' );
if(display_header_text()== true && $custom_logo != null && get_bloginfo( 'title' ) !== '' ){
$toggle_value = 1;
}else{
$toggle_value = 0;
}
?>