Categories
CMS Mastering Development Wordpress

How to save custom settings api fields with custom section fuction

I am creating wordpress theme on a single options page. I have customized the default do_settings_fields and do_settings_sections functions. my fields are displaying fine but when i am trying to save it, It won’t save. function amna_theme_options_page () { wp_enqueue_style( ‘theme-options-css’, get_template_directory_uri() . ‘/inc/admin/assets/css/theme-options-css.css’ ); settings_errors(); ?> <div class="wrap flex-tab"> <form action=” method=’post’ class="amna-fields"> <?php […]

Categories
CMS Mastering Development Wordpress

How to save custom settings api fields with custom section fuction

I am creating wordpress theme on a single options page. I have customized the default do_settings_fields and do_settings_sections functions. my fields are displaying fine but when i am trying to save it, It won’t save. function amna_theme_options_page () { wp_enqueue_style( ‘theme-options-css’, get_template_directory_uri() . ‘/inc/admin/assets/css/theme-options-css.css’ ); settings_errors(); ?> <div class="wrap flex-tab"> <form action=” method=’post’ class="amna-fields"> <?php […]

Categories
CMS Mastering Development Wordpress

How to save custom settings api fields with custom section fuction

I am creating wordpress theme on a single options page. I have customized the default do_settings_fields and do_settings_sections functions. my fields are displaying fine but when i am trying to save it, It won’t save. function amna_theme_options_page () { wp_enqueue_style( ‘theme-options-css’, get_template_directory_uri() . ‘/inc/admin/assets/css/theme-options-css.css’ ); settings_errors(); ?> <div class="wrap flex-tab"> <form action=” method=’post’ class="amna-fields"> <?php […]