Default values
-
Hello!
After updating to major 4 version default settings that I added with code likeRedux::setSection( $opt_name, array(
‘title’ => esc_attr__( ‘Contacts & Map’, ‘the-seo’ ),
‘id’ => ‘contacts’,
‘icon’ => ‘el el-envelope’,
‘fields’ => array(
array(
‘id’ => ‘phone’,
‘type’ => ‘text’,
‘title’ => esc_attr__( ‘Phone Number’, ‘the-seo’ ),
‘subtitle’ => esc_attr__( ‘For any section about company.’, ‘the-seo’ ),
‘default’ => ”
),
array(
‘id’ => ’email’,
‘type’ => ‘text’,
‘title’ => esc_attr__( ‘E-mail’, ‘the-seo’ ),
‘subtitle’ => esc_attr__( ‘For any section about company’, ‘the-seo’ ),
‘validate’ => ’email’,
‘msg’ => ‘Wrong e-mail address’,
‘default’ => ”
),)
) );stop work, all data of my theme’s Theme Options are empty.
I need help asap, please, I have a lot of sites with you plugin.
Best regards
- The topic ‘Default values’ is closed to new replies.