// --- Customizer Panel Settings for Brainly-like Layout ---
function qam_customize_register( $wp_customize ) {

    // Panel: Brainly Post Settings
    $wp_customize->add_section( 'qam_post_settings', array(
        'title'    => __( 'Question & Answer Page Settings', 'qam-theme' ),
        'priority' => 30,
    ) );

    // Question Border Color
    $wp_customize->add_setting( 'qam_q_border_color', array(
        'default'   => '#27ae60',
        'transport' => 'refresh',
    ) );
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'qam_q_border_color', array(
        'label'    => __( 'Question Box Border Color', 'qam-theme' ),
        'section'  => 'qam_post_settings',
        'settings' => 'qam_q_border_color',
    ) ) );

    // Active Rating/Like Color
    $wp_customize->add_setting( 'qam_active_action_color', array(
        'default'   => '#27ae60',
        'transport' => 'refresh',
    ) );
    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'qam_active_action_color', array(
        'label'    => __( 'Liked / Rated Active Color', 'qam-theme' ),
        'section'  => 'qam_post_settings',
        'settings' => 'qam_active_action_color',
    ) ) );

    // Show/Hide Meta Dates Toggle
    $wp_customize->add_setting( 'qam_show_post_dates', array(
        'default'   => 'hide',
        'transport' => 'refresh',
    ) );
    $wp_customize->add_control( 'qam_show_post_dates', array(
        'label'   => __( 'Display Dates on Question/Answers', 'qam-theme' ),
        'section' => 'qam_post_settings',
        'type'    => 'radio',
        'choices' => array(
            'show' => __( 'Show Date', 'qam-theme' ),
            'hide' => __( 'Hide Date', 'qam-theme' ),
        ),
    ) );
}
add_action( 'customize_register', 'qam_customize_register' );<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//answer.questionam.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://answer.questionam.com/post-sitemap.xml</loc>
		<lastmod>2024-10-04T18:09:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://answer.questionam.com/page-sitemap.xml</loc>
		<lastmod>2024-09-19T20:35:41+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://answer.questionam.com/category-sitemap.xml</loc>
		<lastmod>2024-10-04T18:09:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://answer.questionam.com/author-sitemap.xml</loc>
		<lastmod>2026-07-28T05:39:12+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->